Browse Source

avformat/concat: priv_data should be freed internally

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
tags/n4.3
Limin Wang 5 years ago
parent
commit
6da653e525
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavformat/concat.c

+ 0
- 1
libavformat/concat.c View File

@@ -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);
}
}


Loading…
Cancel
Save