Fix bug introduced by r12827.
authorRamiro Polla <ramiro.polla@gmail.com>
Mon, 21 Apr 2008 01:22:25 +0000 (01:22 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Mon, 21 Apr 2008 01:22:25 +0000 (01:22 +0000)
commit8767060cd2e5f9a29251f90b98b0f0cdafad93ef
tree9f5e0c38f859a6f9164a723f4ec9c0eecfc989cb
parentb189e6705ab47937248877a620be1a047d9741fe
Fix bug introduced by r12827.
If av_exit() was called after an AVFormatContext was created, but before
its file was opened, av_exit() would pass a NULL pointer to url_fclose().

Originally committed as revision 12915 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c