Skip to content

Commit

Permalink
lavc/libutvideodec: Do not set bits_per_raw_sample.
Browse files Browse the repository at this point in the history
It is not always 8 but never different from the pix_fmt property.
  • Loading branch information
cehoyos committed Jun 11, 2016
1 parent 3ecc59b commit 3da860f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libavcodec/libutvideodec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 3da860f

Please sign in to comment.