[FFmpeg-devel] [PATCH] lavf/avienc: Clear whole tag in avi_add_ientry()

Mats Peterson matsp888 at yahoo.com
Sun Mar 13 16:45:15 CET 2016


Mats Peterson <matsp888-at-yahoo.com at ffmpeg.org> skrev: (13 mars 2016 16:28:04 CET)
>Mats Peterson <matsp888-at-yahoo.com at ffmpeg.org> skrev: (13 mars 2016
>16:11:54 CET)
>>I don't know if this is necessary or relevant, but since you said snow
>
>>encoding failed, and valgrind reported that the tag was uninitialised,
>
>>why not clear the whole of it.
>>
>>Mats
>
>Well, it's not needed, since I only check the first byte, but perhaps
>it's more elegant. You choose.
>-- 
>Mats Peterson
>http://matsp888.no-ip.org/~mats/
>_______________________________________________
>ffmpeg-devel mailing list
>ffmpeg-devel at ffmpeg.org
>http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

And in this context, it would be nice if you perhaps could look into some logic for switching the palette based on the indexed xxpc chunks in the demuxer avidec.c, Michael. I'm not knowledgeable enough to deal with that.

Mats
-- 
Mats Peterson
http://matsp888.no-ip.org/~mats/


More information about the ffmpeg-devel mailing list