[FFmpeg-cvslog] avformat/concat: priv_data should be freed internally
Limin Wang
git at videolan.org
Fri May 1 18:17:33 EEST 2020
ffmpeg | branch: master | Limin Wang <lance.lmwang at gmail.com> | Fri Apr 3 21:03:06 2020 +0800| [6da653e525d57484bb1e5988a08255e9bbb6cf41] | committer: Limin Wang
avformat/concat: priv_data should be freed internally
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6da653e525d57484bb1e5988a08255e9bbb6cf41
---
libavformat/concat.c | 1 -
1 file changed, 1 deletion(-)
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);
}
}
More information about the ffmpeg-cvslog
mailing list