aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dnxhd_parser.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-17 23:12:43 +0100
commitdc2942bbc889c18dd23acd2202ffb2520fac697a (patch)
tree0169504f6a24e06d2041862df37c2ca43653ce62 /libavcodec/dnxhd_parser.c
parent35db873534a8a573a360a5f12e878f827bc67cc8 (diff)
downloadffmpeg-dc2942bbc889c18dd23acd2202ffb2520fac697a.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> (cherry picked from commit f84ae3f04aa074afeaeafe6b478d603ce46df55e) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/dnxhd_parser.c')
0 files changed, 0 insertions, 0 deletions