You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
Merge commit '06ebc0bf9a6401733a4ce1310325de19f631819a'
* commit '06ebc0bf9a6401733a4ce1310325de19f631819a': lavf: Allocate arrays with av_realloc if they will be realloced later Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user