1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

lavc/libutvideodec: Do not set bits_per_raw_sample.

It is not always 8 but never different from the pix_fmt property.
This commit is contained in:
Carl Eugen Hoyos 2016-06-11 22:38:41 +02:00
parent 3ecc59bc35
commit 3da860fbcf

View File

@ -109,9 +109,6 @@ static av_cold int utvideo_decode_init(AVCodecContext *avctx)
/* Allocate the output frame */
avctx->coded_frame = av_frame_alloc();
/* Ut Video only supports 8-bit */
avctx->bits_per_raw_sample = 8;
/* Is it interlaced? */
avctx->coded_frame->interlaced_frame = info.flags & 0x800 ? 1 : 0;