Fixes compilation with gcc and -O0. Originally committed as revision 21316 to svn://svn.ffmpeg.org/ffmpeg/trunk