Commit 967afad0 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'c83dd2d2'

* commit 'c83dd2d2':
  rtpenc_mpegts: Free the right ->pb in the error path in the init function
Reviewed-by: 's avatarAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 14ab6f9a c83dd2d2
......@@ -98,7 +98,7 @@ static int rtp_mpegts_write_header(AVFormatContext *s)
fail:
if (mpegts_ctx) {
ffio_free_dyn_buf(&chain->mpegts_ctx->pb);
ffio_free_dyn_buf(&mpegts_ctx->pb);
avformat_free_context(mpegts_ctx);
}
if (rtp_ctx)
......
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