mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 08:12:44 +00:00
avformat/hdsenc: removed unused check of avformat_free_context
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Reviewed-by: Jun Zhao <barryjzhao@tencent.com> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
This commit is contained in:
parent
b26225a3c7
commit
e880f4fb38
@ -146,7 +146,6 @@ static void hds_free(AVFormatContext *s)
|
|||||||
av_write_trailer(os->ctx);
|
av_write_trailer(os->ctx);
|
||||||
if (os->ctx)
|
if (os->ctx)
|
||||||
avio_context_free(&os->ctx->pb);
|
avio_context_free(&os->ctx->pb);
|
||||||
if (os->ctx)
|
|
||||||
avformat_free_context(os->ctx);
|
avformat_free_context(os->ctx);
|
||||||
av_freep(&os->metadata);
|
av_freep(&os->metadata);
|
||||||
for (j = 0; j < os->nb_extra_packets; j++)
|
for (j = 0; j < os->nb_extra_packets; j++)
|
||||||
|
Loading…
Reference in New Issue
Block a user