Only realloc() bitstream buffer when the needed size increased,
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 18 Jul 2008 11:38:53 +0000 (11:38 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 18 Jul 2008 11:38:53 +0000 (11:38 +0000)
commitcfcd396bae11de94ad4a729361bc9b7b05f04c27
treec0973efc7c46b26d6a7e8f38566d79d37d6feeb1
parent2b4b8c824e9d49800185b8f04fa5de6ce4bde07b
Only realloc() bitstream buffer when the needed size increased,
this is needed to prevent loosing bitstream data with large metadata.

Originally committed as revision 14279 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/flac.c