diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2020-04-03 21:03:06 +0800 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2020-05-01 22:57:29 +0800 |
commit | 6da653e525d57484bb1e5988a08255e9bbb6cf41 (patch) | |
tree | e030bb2651b8e08c5ffabe571043bbd4155ec1d4 /libavformat/concat.c | |
parent | 52bd9342dc90edac22994f37a092ba9d4be1bdaa (diff) |
avformat/concat: priv_data should be freed internally
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavformat/concat.c')
-rw-r--r-- | libavformat/concat.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/concat.c b/libavformat/concat.c index ea3bc1dfde..cfe14760eb 100644 --- a/libavformat/concat.c +++ b/libavformat/concat.c @@ -75,7 +75,6 @@ static av_cold int concat_open(URLContext *h, const char *uri, int flags) if (uri[i] == *AV_CAT_SEPARATOR) { /* integer overflow */ if (++len == UINT_MAX / sizeof(*nodes)) { - av_freep(&h->priv_data); return AVERROR(ENAMETOOLONG); } } |