aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-07-02 13:49:13 +0100
committerMans Rullgard <mans@mansr.com>2012-07-02 22:13:32 +0100
commit4719ea7e1e6113010da2ccdb9a84e45104ab4de7 (patch)
treed40aae3112a17745c29001ad235baa161adf8744 /libavcodec
parent5e745cefc0f89cf698c4cf0104182472fe0f603e (diff)
downloadffmpeg-4719ea7e1e6113010da2ccdb9a84e45104ab4de7.tar.gz
flacdec: remove redundant setting of avctx->sample_fmt
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/flacdec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c
index cd2a69390a..6a06d1922d 100644
--- a/libavcodec/flacdec.c
+++ b/libavcodec/flacdec.c
@@ -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)