diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2016-06-11 22:38:41 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2016-06-11 22:38:41 +0200 |
commit | 3da860fbcfdecd4bb8b54dd9b4b252d867de7970 (patch) | |
tree | 3444da05e799ef91839c3ddde84fbdda9a875ff8 | |
parent | 3ecc59bc35412d0cc2299668dd1f79fff090eb3f (diff) | |
download | ffmpeg-3da860fbcfdecd4bb8b54dd9b4b252d867de7970.tar.gz |
lavc/libutvideodec: Do not set bits_per_raw_sample.
It is not always 8 but never different from the pix_fmt property.
-rw-r--r-- | libavcodec/libutvideodec.cpp | 3 |
1 files changed, 0 insertions, 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; |