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

gkovacs subversion at mplayerhq.hu
Wed Aug 26 10:33:50 CEST 2009


Author: gkovacs
Date: Wed Aug 26 10:33:50 2009
New Revision: 5306

Log:
correctly invoke remove_item

Modified:
   concat/libavformat/avplaylist.c

Modified: concat/libavformat/avplaylist.c
==============================================================================
--- concat/libavformat/avplaylist.c	Wed Aug 26 10:31:29 2009	(r5305)
+++ concat/libavformat/avplaylist.c	Wed Aug 26 10:33:50 2009	(r5306)
@@ -226,7 +226,7 @@ int av_playlist_close(AVPlaylistContext 
 {
     int err;
     while (ctx->pelist_size > 0) {
-        err = av_playlist_remove_item(ctx->pelist_size-1);
+        err = av_playlist_remove_item(ctx, ctx->pelist_size-1);
         if (err) {
             av_log(NULL, AV_LOG_ERROR, "failed to remove item %d from playlist", ctx->pelist_size-1);
             return err;


More information about the FFmpeg-soc mailing list