ituh263: reject b-frame with pp_time = 0
authorKeiji Costantini <strites@gmail.com>
Sat, 1 Mar 2014 18:17:04 +0000 (18:17 +0000)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Sat, 1 Mar 2014 22:17:30 +0000 (23:17 +0100)
commit9514440337875e0c63b409abcd616b68c518283f
treee206ef0213547f2ec2c0e40da0e11557ac8166d8
parent700687ebe07ac8b7a5cf5fd2c4892ea07a827080
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>
libavcodec/ituh263dec.c