[FFmpeg-devel] [PATCH] Possible bugfix for matroskadec.c

Carl Eugen Hoyos cehoyos
Fri Aug 10 10:57:05 CEST 2007


When compiling matroskadec.c, icc complains about a senseless comparison
(uint64_t cluster_time and int16_t block_time):

matroskadec.c(2385): warning #186: pointless comparison of unsigned
integer with zero
if (cluster_time != (uint64_t)-1 && cluster_time + block_time >= 0)

Attached is a patch that might fix this issue (but I didn't look into
the actual semantic of the code, so it might be completely wrong).

Please comment, Carl Eugen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patchmatroska
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070810/dd816b5f/attachment.asc>

More information about the ffmpeg-devel mailing list