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, 2 Mar 2014 16:42:38 +0000 (11:42 -0500)
commit5df52b0131d3d4d804ad6e221bc9a2cd8b201ef2
treeff603a287f1bdcd42b079a809993b619bee031d3
parent00d5ff64315adb18847ba5bd830c49f37a95df36
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)
libavcodec/ituh263dec.c