summaryrefslogtreecommitdiffstats
path: root/libavformat/rtpenc_mpegts.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-10 11:08:30 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-10 11:08:53 +0100
commit967afad03b3b6a1987c5c3079777657fde11e8c9 (patch)
treef90f55d6295945e303f3312b5884bc3a0aefda27 /libavformat/rtpenc_mpegts.c
parent14ab6f9a268a5f0039f0eb4b8ed91c3652d4d0a7 (diff)
parentc83dd2d2a458075a58895c384372f57c1ec26276 (diff)
downloadffmpeg-streaming-967afad03b3b6a1987c5c3079777657fde11e8c9.zip
ffmpeg-streaming-967afad03b3b6a1987c5c3079777657fde11e8c9.tar.gz
Merge commit 'c83dd2d2a458075a58895c384372f57c1ec26276'
* commit 'c83dd2d2a458075a58895c384372f57c1ec26276': rtpenc_mpegts: Free the right ->pb in the error path in the init function Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rtpenc_mpegts.c')
-rw-r--r--libavformat/rtpenc_mpegts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpenc_mpegts.c b/libavformat/rtpenc_mpegts.c
index 5b94e73..b49ee81 100644
--- a/libavformat/rtpenc_mpegts.c
+++ b/libavformat/rtpenc_mpegts.c
@@ -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)
OpenPOWER on IntegriCloud