[FFmpeg-cvslog] lavc/libutvideodec: Do not set bits_per_raw_sample.

Carl Eugen Hoyos git at videolan.org
Sat Jun 11 22:40:12 CEST 2016


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sat Jun 11 22:38:41 2016 +0200| [3da860fbcfdecd4bb8b54dd9b4b252d867de7970] | committer: 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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3da860fbcfdecd4bb8b54dd9b4b252d867de7970
---

 libavcodec/libutvideodec.cpp |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/libutvideodec.cpp b/libavcodec/libutvideodec.cpp
index a456735..29e6db1 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;
 



More information about the ffmpeg-cvslog mailing list