[FFmpeg-soc] [soc]: r5303 - concat/libavformat/playlist.c

gkovacs subversion at mplayerhq.hu
Wed Aug 26 10:21:43 CEST 2009


Author: gkovacs
Date: Wed Aug 26 10:21:43 2009
New Revision: 5303

Log:
close input stream upon av_find_stream_info failure

Modified:
   concat/libavformat/playlist.c

Modified: concat/libavformat/playlist.c
==============================================================================
--- concat/libavformat/playlist.c	Wed Aug 26 10:20:17 2009	(r5302)
+++ concat/libavformat/playlist.c	Wed Aug 26 10:21:43 2009	(r5303)
@@ -49,6 +49,7 @@ AVFormatContext *ff_playlist_alloc_forma
     if (err < 0) {
         av_log(ic, AV_LOG_ERROR, "Could not find stream info\n");
         av_close_input_file(ic);
+        av_close_input_stream(ic);
         av_free(ic);
         return NULL;
     }


More information about the FFmpeg-soc mailing list