Commit 0f79a713 authored by Steven Liu's avatar Steven Liu

avformat/rtpenc_mpegts: removed unused check of avformat_free_context

Reviewed-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
Reviewed-by: 's avatarJun Zhao <barryjzhao@tencent.com>
Signed-off-by: 's avatarSteven Liu <lq@chinaffmpeg.org>
parent e880f4fb
......@@ -106,8 +106,7 @@ fail:
av_dict_free(&mpegts_ctx->metadata);
avformat_free_context(mpegts_ctx);
}
if (rtp_ctx)
avformat_free_context(rtp_ctx);
avformat_free_context(rtp_ctx);
rtp_mpegts_write_close(s);
return ret;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment