Browse Source

lavc/libutvideodec: Do not set bits_per_raw_sample.

It is not always 8 but never different from the pix_fmt property.
tags/n3.1
Carl Eugen Hoyos 9 years ago
parent
commit
3da860fbcf
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      libavcodec/libutvideodec.cpp

+ 0
- 3
libavcodec/libutvideodec.cpp View File

@@ -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…
Cancel
Save