This fixes the build with demuxers disabled. Originally committed as revision 20327 to svn://svn.ffmpeg.org/ffmpeg/trunk