[FFmpeg-devel] [PATCH] mjpegenc_huffman: fix uninitialized variable usage

Michael Niedermayer michael at niedermayer.cc
Thu Feb 9 02:20:03 EET 2017


On Wed, Feb 08, 2017 at 11:19:22PM +0000, Rostislav Pehlivanov wrote:
> Happened when max_length == 0, in which case i wasn't set to 0 during
> the first run. i is supposed to already be at the maximum size when the
> max_length is 0.

when / for what is max_length = 0 used ?
maybe i misuderstand but doesnt max_length mean the longest code would
have 0 bits ?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170209/ce8295c2/attachment.sig>


More information about the ffmpeg-devel mailing list