done by the demuxer. Fix issue 1378. Originally committed as revision 19825 to svn://svn.ffmpeg.org/ffmpeg/trunk