]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/concat.c
avformat: Report the duration analysis reached
[ffmpeg] / libavformat / concat.c
index 4682d8a2603402f610b6e62aaa9348faa8a11fd4..416bbf5fc3bef1fcc36846f7c7fcc4194597836f 100644 (file)
@@ -74,7 +74,7 @@ static av_cold int concat_open(URLContext *h, const char *uri, int flags)
                 return AVERROR(ENAMETOOLONG);
             }
 
-    if (!(nodes = av_malloc(sizeof(*nodes) * len))) {
+    if (!(nodes = av_realloc(NULL, sizeof(*nodes) * len))) {
         return AVERROR(ENOMEM);
     } else
         data->nodes = nodes;