Allocate enough memory for audio_buf to fit a full output frame.
Also, use audio_buf when encoding the final frame. Fixes Issue 1921. Originally committed as revision 23570 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing
Please
register
or
sign in
to comment