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:
parent
3ecc59bc35
commit
3da860fbcf
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user