diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c index c9dbc14726..a48b177828 100644 --- a/libavcodec/flacdec.c +++ b/libavcodec/flacdec.c @@ -473,10 +473,10 @@ static int decode_frame(FLACContext *s) ret = allocate_buffers(s); if (ret < 0) return ret; - ff_flacdsp_init(&s->dsp, s->avctx->sample_fmt, s->bps); s->got_streaminfo = 1; dump_headers(s->avctx, (FLACStreaminfo *)s); } + ff_flacdsp_init(&s->dsp, s->avctx->sample_fmt, s->bps); // dump_headers(s->avctx, (FLACStreaminfo *)s);