Files
FFmpeg/libavcodec
Mans Rullgard 4ed486dc3a h264: fix detection of optional trailing PPS elements
The PPS may contain a few trailing elements whose presence is
only signalled by data remaining after the the mandatory part
has been parsed.  The current code fails to take into account
the rbsp_trailing_bits() when deciding whether to parse these
optional elements.  Assuming no unnecessary padding bytes are
passed to this function, the optional elements are present if
either more than 8 extra bits remain or the remaining bits do
not form a valid rbsp_trailing_bits() after the mandatory PPS
elements have been parsed.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit be1242a3f2)

Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-02-19 15:08:42 +01:00
..
2011-09-26 19:31:32 +02:00
2011-05-21 13:48:10 +02:00
2011-05-21 13:48:10 +02:00
2011-06-18 08:34:14 -04:00
2011-06-02 20:06:00 +01:00
2011-06-02 20:06:00 +01:00
2011-06-02 07:04:22 -07:00
2011-06-02 07:04:22 -07:00
2011-05-24 07:52:31 +02:00
2011-05-24 07:52:31 +02:00
2011-05-21 13:48:10 +02:00
2011-05-03 21:20:13 -07:00
2011-04-26 18:25:24 +02:00
2011-04-26 18:25:24 +02:00
2011-09-26 19:26:32 +02:00
2011-04-26 18:25:24 +02:00
2011-05-21 13:48:10 +02:00
2011-09-26 19:26:29 +02:00
2011-06-02 20:06:00 +01:00
2011-05-21 13:48:10 +02:00
2011-05-21 13:48:10 +02:00
2011-05-21 13:48:10 +02:00
2011-05-15 13:12:47 +02:00
2011-06-02 20:06:00 +01:00
2011-05-01 19:35:55 +02:00
2011-06-13 21:16:30 -07:00
2011-05-21 13:48:10 +02:00
2011-05-24 19:10:28 +02:00
2011-03-31 12:01:27 +01:00
2011-03-31 12:01:27 +01:00
2011-04-01 15:16:06 +01:00
2011-04-26 18:25:24 +02:00
2011-04-26 18:25:24 +02:00
2011-06-03 12:59:05 +01:00
2011-05-04 21:12:39 +02:00
2011-05-21 13:48:10 +02:00
2011-05-19 10:21:37 +02:00
2011-05-21 13:48:10 +02:00
2011-05-21 13:48:10 +02:00
2011-06-13 21:16:30 -07:00
2011-06-13 21:16:30 -07:00
2011-06-13 21:16:30 -07:00
2011-04-26 18:25:24 +02:00
2011-05-03 21:20:05 -07:00
2011-06-02 20:06:00 +01:00
2011-09-26 19:26:32 +02:00
2011-05-21 13:48:10 +02:00
2011-09-26 19:26:29 +02:00
2011-03-31 12:01:27 +01:00
2011-03-31 12:01:27 +01:00
2011-05-21 13:48:10 +02:00
2011-06-02 20:06:00 +01:00
2011-06-02 20:06:00 +01:00
2011-05-20 11:05:19 +01:00
2011-06-02 20:06:00 +01:00
2011-05-21 13:48:10 +02:00
2011-06-02 20:06:00 +01:00
2011-05-24 12:37:51 +02:00
2011-05-21 13:48:10 +02:00
2011-04-26 18:25:24 +02:00
2011-04-26 18:25:24 +02:00
2011-04-19 16:18:59 +02:00
2011-09-26 19:26:29 +02:00
2011-09-26 19:26:29 +02:00
2011-05-08 12:43:04 -07:00
2011-05-08 12:43:04 -07:00
2011-06-23 08:50:37 +02:00
2011-05-21 13:48:10 +02:00
2011-09-26 19:26:33 +02:00
2011-03-20 13:25:19 +00:00
2011-05-21 13:48:10 +02:00
2011-06-18 22:12:21 -07:00
2011-06-18 22:12:21 -07:00
2011-09-26 19:26:32 +02:00
2011-06-13 21:16:30 -07:00
2011-09-26 19:26:29 +02:00
2011-06-02 21:18:04 +01:00
2011-05-21 13:48:10 +02:00
2011-06-02 20:06:00 +01:00
2011-06-02 20:06:00 +01:00
2011-09-26 19:26:32 +02:00
2011-09-26 19:26:30 +02:00
2011-12-03 21:07:07 +01:00
2011-12-04 09:20:10 +01:00
2011-12-04 09:21:09 +01:00
2011-05-21 13:48:10 +02:00
2011-05-21 13:48:10 +02:00
2011-04-26 18:25:24 +02:00
2011-06-03 12:59:05 +01:00
2011-09-26 19:26:32 +02:00
2011-04-19 19:01:22 +02:00
2011-06-02 20:06:00 +01:00