On 02/19/2016 10:00 PM, Michael Niedermayer wrote:
-
pc_tag = ff_start_tag(pb, tag);
avio_w8(pb, 0);
avio_w8(pb, 0);
avio_wl16(pb, 0); // reserved
- for (i = 0; i<256; i++) {
+ for (i = 0; i < pal_size; i++) {
this mismatches the stored size above
Mismatches what stored size?
the "avio_w8(pb, 0);" above
Right. I'll just set that one to 1 << bits_per_coded_sample then. Funny
that not even Media Player supports these palette change chunks, by the way.
Mats
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel