From 3da860fbcfdecd4bb8b54dd9b4b252d867de7970 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 11 Jun 2016 22:38:41 +0200 Subject: [PATCH] lavc/libutvideodec: Do not set bits_per_raw_sample. It is not always 8 but never different from the pix_fmt property. --- libavcodec/libutvideodec.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/libutvideodec.cpp b/libavcodec/libutvideodec.cpp index a456735d3c..29e6db16d0 100644 --- a/libavcodec/libutvideodec.cpp +++ b/libavcodec/libutvideodec.cpp @@ -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;