Hi,

> this would allow ctx->bit_depth to be set but without initializing the
> dsp contexts
> subsequent runs would also skip init due to
> " if (ctx->bit_depth != old_bit_depth) {"

Actually, other changes could trigger the issue, like
4:2:2 10 bits -> 4:4:4 8 bits (unknown, unsupported) -> 4:2:2 8 bits.

Setting ctx->bit_depth should probably be delayed to when the idcts are set.

I will send later an updated patch including the above fix.
-- 
Christophe
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to