if get_buffer() failed. Patch by Reimar Originally committed as revision 17427 to svn://svn.ffmpeg.org/ffmpeg/trunk