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;
         }
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to