[FFmpeg-soc] [soc]: r5274 - concat/libavformat/avplaylist.c
gkovacs
subversion at mplayerhq.hu
Wed Aug 26 02:08:47 CEST 2009
Author: gkovacs
Date: Wed Aug 26 02:08:46 2009
New Revision: 5274
Log:
close input file if find_stream_info fails
Modified:
concat/libavformat/avplaylist.c
Modified: concat/libavformat/avplaylist.c
==============================================================================
--- concat/libavformat/avplaylist.c Tue Aug 25 21:58:19 2009 (r5273)
+++ concat/libavformat/avplaylist.c Wed Aug 26 02:08:46 2009 (r5274)
@@ -50,6 +50,7 @@ AVFormatContext *av_playlist_alloc_forma
err = av_find_stream_info(ic);
if (err < 0) {
av_log(ic, AV_LOG_ERROR, "Could not find stream info\n");
+ av_close_input_file(ic);
av_free(ic);
return NULL;
}
More information about the FFmpeg-soc
mailing list