diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-19 12:35:59 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-20 23:18:50 +0200 |
commit | 9f6b738896196ffb911f75719d00b63ebc7ea217 (patch) | |
tree | fd00fd80733bc3b2f473e6efa503bf82185bab88 | |
parent | 57e570b508d967785b758e54c505db76c1597927 (diff) | |
download | ffmpeg-9f6b738896196ffb911f75719d00b63ebc7ea217.tar.gz |
avformat/hls: Remove redundant resetting of pointer
ff_id3v2_free_extra_meta() takes a ID3V2ExtraMeta ** so that it can
already reset the pointer.
Reviewed-by: Jun Zhao <mypopy@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r-- | libavformat/hls.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c index fc45719d1c..cd6c91214d 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -1969,7 +1969,6 @@ static int hls_read_header(AVFormatContext *s) avformat_queue_attached_pictures(pls->ctx); ff_id3v2_parse_priv(pls->ctx, &pls->id3_deferred_extra); ff_id3v2_free_extra_meta(&pls->id3_deferred_extra); - pls->id3_deferred_extra = NULL; } if (pls->is_id3_timestamped == -1) |