[FFmpeg-devel] [PATCH] rtpenc_mpegts: set rtp_ctx to NULL on avformat_write_header failure

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Mon Mar 9 21:25:20 CET 2015


Hi,

trying to encode e.g. codec bmp with format rtp_mpegts crashes, because 
the avformat_write_header failure isn't handled correctly.
Attached is a patch fixing this.

Best regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-rtpenc_mpegts-set-rtp_ctx-to-NULL-on-avformat_write_.patch
Type: text/x-diff
Size: 1191 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150309/d3727bea/attachment.bin>


More information about the ffmpeg-devel mailing list