ffmdec: make sure the time base is valid
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sun, 8 Mar 2015 22:12:59 +0000 (23:12 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 10 Mar 2015 23:18:24 +0000 (00:18 +0100)
commit7a3ff7fb814bfecd4395427b52391c7ccb9561e0
treecac651a952a0fec624dcba78a18885019ece3fde
parente75bb490ca39cc1282a286b3beebb681f43fe1f5
ffmdec: make sure the time base is valid

A negative time base can trigger assertions.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 4c91d81be23ffacfa3897b2bcfa77445bb0c2f89)

Conflicts:

libavformat/ffmdec.c
(cherry picked from commit 9678ceb6976ca8194848b24535785a298521211f)

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