I really doubt this is correct approach. No other video decoder use pix format set from demuxer.
I could change it to use bits_per_coded_sample instead, would that be better? I see that's what Cinepak does. Zane _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".