movtextdec: Don't emit errors for normal duration-end packets.
authorPhilip Langdale <philipl@overt.org>
Sun, 12 Aug 2012 21:16:35 +0000 (14:16 -0700)
committerPhilip Langdale <philipl@overt.org>
Thu, 16 Aug 2012 05:03:16 +0000 (22:03 -0700)
commit569027ea80daf928e6c127a27b2d7d23950e4534
tree3772e9694247455cbc2d2c782f0b5485dfb6edb4
parent6057de19b5e0075fea55a3a0cb9d225ba3a6f9a4
movtextdec: Don't emit errors for normal duration-end packets.

The logic here was off. If the packet size is exactly two, then
it's a well-formed empty subtitle, used to mark the end of the
duration of the previous subtitle.

Signed-off-by: Philip Langdale <philipl@overt.org>
libavcodec/movtextdec.c