mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avformat/smoothstreamingenc: 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
0f79a71353
commit
9cc88ed4b7
@ -183,8 +183,7 @@ static void ism_free(AVFormatContext *s)
|
||||
av_write_trailer(os->ctx);
|
||||
if (os->ctx && 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->private_str);
|
||||
for (j = 0; j < os->nb_fragments; j++)
|
||||
av_freep(&os->fragments[j]);
|
||||
|
Loading…
Reference in New Issue
Block a user