This should fix a segfault, also it might be faster on systems where the +52 wasnt free. Originally committed as revision 21406 to svn://svn.ffmpeg.org/ffmpeg/trunk
Patch by Laurent Aimar <fenrir at videolan dot org>. Originally committed as revision 21110 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 20957 to svn://svn.ffmpeg.org/ffmpeg/trunk