ituh263: reject b-frame with pp_time = 0
authorKeiji Costantini <strites@gmail.com>
Sat, 1 Mar 2014 18:17:04 +0000 (18:17 +0000)
committerReinhard Tartler <siretart@tauware.de>
Sun, 1 Jun 2014 00:03:35 +0000 (20:03 -0400)
commit16f0f97eec7945d082b74ed88de382bac21538ca
tree8e313bd40268b17665f5e99f6392ce0b0cfe7637
parentf1a8885ae9e7f281b597d1f9188fc16fb2ab7832
ituh263: reject b-frame with pp_time = 0

Avoid a division by 0 in ff_mpeg4_set_one_direct_mv.

Sample-Id: 00000168-google
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
(cherry picked from commit 9514440337875e0c63b409abcd616b68c518283f)
(cherry picked from commit 5df52b0131d3d4d804ad6e221bc9a2cd8b201ef2)
(cherry picked from commit aa2a3ca27a3269e2b975686652204607fad8bc49)
libavcodec/ituh263dec.c