aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libopenh264.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-10-17 20:26:51 +0200
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-11-02 22:19:14 +0100
commitf84ae3f04aa074afeaeafe6b478d603ce46df55e (patch)
tree58d7ccd284ec729932dcc259b446b66018b3a49e /libavcodec/libopenh264.c
parentd0a9af851ee8b5254c0354444cfbe6c59d92887e (diff)
downloadffmpeg-f84ae3f04aa074afeaeafe6b478d603ce46df55e.tar.gz
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. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/libopenh264.c')
0 files changed, 0 insertions, 0 deletions