[FFmpeg-trac] #4343(avcodec:new): ffmpeg-2.5.4 compilation warnings
FFmpeg
trac at avcodec.org
Wed Apr 22 23:45:08 CEST 2015
#4343: ffmpeg-2.5.4 compilation warnings
-------------------------------------+-----------------------------------
Reporter: Mirraz | Owner:
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-----------------------------------
Comment (by Mirraz):
OK, you are right, condition is not "strange", it complies to
specification which I found here:
http://wiki.multimedia.cx/index.php?title=ATRAC3plus. My mistake.
But this warning is not bogus, warning appears because compiler discards
its suggestion about "ctx->num_quant_units" (1<=num_quant_units<=32) when
"ctx" passed to "decode_quant_wordlen(gb, ctx, num_channels, avctx)" and
anything can happen to fields of "ctx".
Corrected patch was sent to ffmpeg-devel.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4343#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list