> 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