Browse Source

flacdec: remove redundant setting of avctx->sample_fmt

Signed-off-by: Mans Rullgard <mans@mansr.com>
tags/n1.0
Mans Rullgard 13 years ago
parent
commit
4719ea7e1e
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavcodec/flacdec.c

+ 0
- 2
libavcodec/flacdec.c View File

@@ -108,8 +108,6 @@ static av_cold int flac_decode_init(AVCodecContext *avctx)
FLACContext *s = avctx->priv_data;
s->avctx = avctx;

avctx->sample_fmt = AV_SAMPLE_FMT_S16;

/* for now, the raw FLAC header is allowed to be passed to the decoder as
frame data instead of extradata. */
if (!avctx->extradata)


Loading…
Cancel
Save