id,summary,reporter,owner,description,type,status,priority,component,version,resolution,keywords,cc,blockedby,blocking,reproduced,analyzed
578,av_open_input_file fails open - regression,DonMoir,,"I have 4 f4v files. 3 of them fail on open with the latest build.

To test, fails_open_cut.f4v (8 MB) is here:

http://sms.pangolin.com/temp/fails_open_cut.f4v

Attempting to cut the file smaller resulted in failure on older builds.

The last known good on this file and others is:

ffplay version N-32962-gcbf914c, Copyright (c) 2003-2011 the FFmpeg developers
  built on Sep 25 2011 21:37:29 with gcc 4.6.1
  configuration: --disable-static --enable-shared --enable-gpl
    --enable-version3 --enable-runtime-cpudetect --enable-avisynth
    --enable-bzlib --enable-frei0r --enable-libopencore-amrnb
    --enable-libopencore-amrwb --enable-libfreetype
    --enable-libgsm --enable-libmp3lame --enable-libopenjpeg
    --enable-librtmp --enable-libschroedinger --enable-libspeex
    --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc
    --enable-libvorbis --enable-libvpx --enable-libx264
    --enable-libxavs --enable-libxvid --enable-zlib
  libavutil    51. 17. 0 / 51. 17. 0
  libavcodec   53. 17. 0 / 53. 17. 0
  libavformat  53. 13. 0 / 53. 13. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 43. 5 /  2. 43. 5
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0

With Latest Build:

gdb ffmpeg_g
(gdb) r -i c:\flashfiles\fails_open_cut.f4v -f null -
Starting program: c:\work\ffmpeg_deb/ffmpeg_g.exe -i c:\flashfiles\fails_open_cut.f4v -f null -
[New Thread 3768.0x177c]
ffmpeg version 0.8.5.git, Copyright (c) 2000-2011 the FFmpeg developers
  built on Oct 21 2011 13:20:54 with gcc 4.5.2
  configuration: --target-os=mingw32 --disable-yasm --disable-doc
  libavutil    51. 22. 0 / 51. 22. 0
  libavcodec   53. 23. 0 / 53. 23. 0
  libavformat  53. 17. 0 / 53. 17. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 44. 1 /  2. 44. 1
  libswscale    2.  1. 0 /  2.  1. 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 03549f60] error reading header: -1
c:\flashfiles\fails_open_cut.f4v: Operation not permitted

Program exited with code 01.
(gdb) disass $pc-32,$pc+32
No registers.

",defect,closed,important,avformat,git-master,fixed,regression mov,,,,1,0
