This fixes a regression introduced in r20170. Originally committed as revision 20238 to svn://svn.ffmpeg.org/ffmpeg/trunk