nutdec: check for negative frame rate in decode_info_header
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Tue, 28 Apr 2015 18:31:56 +0000 (20:31 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 28 Apr 2015 18:37:11 +0000 (20:37 +0200)
commit6621105877ce0d65724a8ab60b3a50160adbe65d
treefc7a1309a0bc288d6744460fb9510142707b86af
parent5bebd13d2d86b683717ef823677545f52ea2a12f
nutdec: check for negative frame rate in decode_info_header

A negative frame rate triggers an av_assert2 in av_rescale_rnd.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/nutdec.c