Commit 3da860fb authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lavc/libutvideodec: Do not set bits_per_raw_sample.

It is not always 8 but never different from the pix_fmt property.
parent 3ecc59bc
...@@ -109,9 +109,6 @@ static av_cold int utvideo_decode_init(AVCodecContext *avctx) ...@@ -109,9 +109,6 @@ static av_cold int utvideo_decode_init(AVCodecContext *avctx)
/* Allocate the output frame */ /* Allocate the output frame */
avctx->coded_frame = av_frame_alloc(); avctx->coded_frame = av_frame_alloc();
/* Ut Video only supports 8-bit */
avctx->bits_per_raw_sample = 8;
/* Is it interlaced? */ /* Is it interlaced? */
avctx->coded_frame->interlaced_frame = info.flags & 0x800 ? 1 : 0; avctx->coded_frame->interlaced_frame = info.flags & 0x800 ? 1 : 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment