[FFmpeg-soc] [soc]: r5239 - concat/libavformat/avplaylist.c
gkovacs
subversion at mplayerhq.hu
Mon Aug 24 07:59:28 CEST 2009
Author: gkovacs
Date: Mon Aug 24 07:59:27 2009
New Revision: 5239
Log:
don't attempt to continue after av_realloc failure
Modified:
concat/libavformat/avplaylist.c
Modified: concat/libavformat/avplaylist.c
==============================================================================
--- concat/libavformat/avplaylist.c Mon Aug 24 07:56:34 2009 (r5238)
+++ concat/libavformat/avplaylist.c Mon Aug 24 07:59:27 2009 (r5239)
@@ -141,7 +141,9 @@ void av_playlist_split_encodedstring(con
if (!sepidx_tmp) {
av_free(sepidx);
av_log(NULL, AV_LOG_ERROR, "av_fast_realloc error in av_playlist_split_encodedstring\n");
- continue;
+ *flist_ptr = NULL;
+ *len_ptr = 0;
+ return;
} else
sepidx = sepidx_tmp;
}
More information about the FFmpeg-soc
mailing list