Signed-off-by: Mans Rullgard <[email protected]>
---
 libavcodec/flacdec.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c
index f0b9569..73ccd34 100644
--- a/libavcodec/flacdec.c
+++ b/libavcodec/flacdec.c
@@ -110,8 +110,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)
-- 
1.7.10.2

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to