diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c index 9d5ecd04cf..cfde037587 100644 --- a/libavcodec/flacdec.c +++ b/libavcodec/flacdec.c @@ -467,10 +467,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);