[Ffmpeg-devel] [PATCH] avcodec_decode_audio2() and a52dec.c
Tue Jan 16 23:27:55 CET 2007
recent addition of avcodec_decode_audio2() seems break AC3-decoding
(at least in my app.). When a52_decode_frame() hasn't got enough
data to produce output it will just return consumed buffers but wont
touch *data_size, thus fooling caller to believe there is
AVCODEC_MAX_AUDIO_FRAME_SIZE available bytes for output.
This patch should fix it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 790 bytes
Desc: not available
More information about the ffmpeg-devel