OSDN Git Service

h264_parser: Fix POC parsing for the case where MMCO_RESET is absent.
authorYusuke Nakamura <muken.the.vfrmaniac@gmail.com>
Mon, 16 Sep 2013 09:34:27 +0000 (18:34 +0900)
committerAnton Khirnov <anton@khirnov.net>
Tue, 15 Oct 2013 18:02:47 +0000 (20:02 +0200)
commitb81dbd6cb7522bea96d78a52f8a4c25a47b820c9
tree180ef23165e09077d1abee783c2f8ed4140031f4
parent6b081eff4dfc3c899960f69f30cb567266b7dca3
h264_parser: Fix POC parsing for the case where MMCO_RESET is absent.

The prev_ values were not set after parsing POC.
Increase length of the buffer decoded to parse enough safely.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/h264_parser.c