comparison matroska.c @ 396:96f8086bc2ba libavformat

warning patrol
author mellum
date Wed, 24 Mar 2004 23:32:48 +0000
parents 7be99ba54f0f
children 74c55d401dff
comparison
equal deleted inserted replaced
395:c1ed10f3b052 396:96f8086bc2ba
925 925
926 if ((res = ebml_read_uint(matroska, &id, &num)) < 0) 926 if ((res = ebml_read_uint(matroska, &id, &num)) < 0)
927 return res; 927 return res;
928 if (num > sizeof(uint32_t)) { 928 if (num > sizeof(uint32_t)) {
929 av_log(matroska->ctx, AV_LOG_ERROR, 929 av_log(matroska->ctx, AV_LOG_ERROR,
930 "IDs of size %llu (> %d) not supported\n", 930 "IDs of size %llu (> %zu) not supported\n",
931 num, sizeof(uint32_t)); 931 num, sizeof(uint32_t));
932 return AVERROR_INVALIDDATA; 932 return AVERROR_INVALIDDATA;
933 } 933 }
934 break; 934 break;
935 } 935 }