mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
avformat/rtpenc_mpegts: 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
e880f4fb38
commit
0f79a71353
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user