[FFmpeg-soc] [soc]: r5312 - concat/libavformat/avplaylist.c

gkovacs subversion at mplayerhq.hu
Wed Aug 26 20:27:53 CEST 2009


Author: gkovacs
Date: Wed Aug 26 20:27:53 2009
New Revision: 5312

Log:
return error code upon failure in av_playlist_insert_playlist

Modified:
   concat/libavformat/avplaylist.c

Modified: concat/libavformat/avplaylist.c
==============================================================================
--- concat/libavformat/avplaylist.c	Wed Aug 26 20:26:54 2009	(r5311)
+++ concat/libavformat/avplaylist.c	Wed Aug 26 20:27:53 2009	(r5312)
@@ -94,6 +94,7 @@ int av_playlist_insert_playlist(AVPlayli
         err = av_playlist_insert_item(ctx, insert_ctx->flist[i], pos + i);
         if (err) {
             av_log(NULL, AV_LOG_ERROR, "failed to insert item %d to new position %d in av_playlist_insert_playlist\n", i, pos + i);
+            return err;
         }
     }
     return 0;


More information about the FFmpeg-soc mailing list