[FFmpeg-devel] [PATCH] avformat: close parser if codec changed
Andreas Cadhalpun
andreas.cadhalpun at googlemail.com
Wed Oct 26 22:59:06 EEST 2016
On 22.10.2016 01:16, Andreas Cadhalpun wrote:
> From 9de87a4fb2c6c6311a11a2da5de8554a71adfa66 Mon Sep 17 00:00:00 2001
> From: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> Date: Mon, 17 Oct 2016 20:26:51 +0200
> Subject: [PATCH] avformat: close parser if codec changed
>
> The parser depends on the codec and thus must not be used with a different one.
> If it is, the 'avctx->codec_id == s->parser->codec_ids[0] ...' assert in
> av_parser_parse2 gets triggered.
>
> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> ---
> libavformat/utils.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
Ping. (I'd like to have this in 3.2.)
Best regards,
Andreas
More information about the ffmpeg-devel
mailing list