Commit 4719ea7e authored by Mans Rullgard's avatar Mans Rullgard

flacdec: remove redundant setting of avctx->sample_fmt

Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent 5e745cef
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment