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:55:23 +0000 (20:55 +0200)
commitac323fa46330756b60ff4338954de389d268a8fb
tree4630b5a64da8b0ccc656d2fd2c590df7bb818da2
parent0397e998b3aa90470f023f62e0bb034fa21b631f
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>
(cherry picked from commit 6621105877ce0d65724a8ab60b3a50160adbe65d)

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