mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
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>
This commit is contained in:
parent
57e570b508
commit
9f6b738896
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user