Allocate enough memory for audio_buf to fit a full output frame.
authorJustin Ruggles <justin.ruggles@gmail.com>
Thu, 10 Jun 2010 19:40:56 +0000 (19:40 +0000)
committerJustin Ruggles <justin.ruggles@gmail.com>
Thu, 10 Jun 2010 19:40:56 +0000 (19:40 +0000)
commit79c85beba860a1e2e286d2630c862ad7d1b278a6
treef958b742fca8ae885ca91ad20ee0c3b60851e835
parent79d46cbea6c30c11de8da9ca64ac293b773966e2
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
ffmpeg.c