[FFmpeg-devel] A question about flushing the MP3 decoder.
Dale Curtis
dalecurtis at chromium.org
Thu Jun 5 03:03:51 CEST 2014
I'm noticing that decoding packets, flushing, and then decoding the same
packets again doesn't give exactly the same buffers back (as indicated by
an MD5 sum). I was able to "fix" this by adding the following to mp_flush():
memset(ctx->mdct_buf, 0, sizeof(ctx->mdct_buf));
ctx->dither_state = 0;
Is this correct / necessary?
- dale
More information about the ffmpeg-devel
mailing list