Fix a possibly exploitable buffer overflow.

backported r18640 by michael



Originally committed as revision 21712 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
1 file changed