[FFmpeg-soc] [soc]: r5267 - concat/libavformat/avplaylist.c
gkovacs
subversion at mplayerhq.hu
Tue Aug 25 09:41:12 CEST 2009
Author: gkovacs
Date: Tue Aug 25 09:41:11 2009
New Revision: 5267
Log:
added else statement after av_realloc failure check
Modified:
concat/libavformat/avplaylist.c
Modified: concat/libavformat/avplaylist.c
==============================================================================
--- concat/libavformat/avplaylist.c Tue Aug 25 09:18:01 2009 (r5266)
+++ concat/libavformat/avplaylist.c Tue Aug 25 09:41:11 2009 (r5267)
@@ -63,8 +63,8 @@ int av_playlist_populate_context(AVPlayl
av_log(NULL, AV_LOG_ERROR, "av_realloc error in av_playlist_populate_context\n");
av_free(ctx->formatcontext_list);
return AVERROR_NOMEM;
- }
- ctx->formatcontext_list = formatcontext_list_tmp;
+ } else
+ ctx->formatcontext_list = formatcontext_list_tmp;
ctx->formatcontext_list[pe_curidx+1] = NULL;
if (!(ctx->formatcontext_list[pe_curidx] = av_playlist_alloc_formatcontext(ctx->flist[pe_curidx])))
return AVERROR_NOFMT;
More information about the FFmpeg-soc
mailing list