Michael Niedermayer a81a6d9c80 h264: improve parsing of broken AVC SPS
Parsing the entire NAL as SPS fixes decoding of some AVC bitstreams
with broken escaping. Since the size of the NAL unit is known and
checked against the buffer end we can parse it entirely without buffer
overreads.

Fixes playback of
http://streams.videolan.org/streams/mp4/Mr_MrsSmith-h264_aac.mp4

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
(cherry picked from commit 3aa661ec56)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2012-03-14 21:27:22 +01:00
2012-03-04 12:26:06 +01:00
2012-03-04 12:26:06 +01:00
2012-03-08 22:07:55 +01:00
2012-03-06 15:45:30 +02:00
2012-01-21 12:04:02 +02:00
2012-03-14 20:59:00 +01:00
2012-02-26 10:03:16 +01:00
2012-01-21 18:37:25 +01:00
2012-01-19 00:19:43 +01:00
2012-01-19 00:19:43 +01:00
2011-03-16 21:54:39 +01:00
2012-01-19 00:19:43 +01:00
2011-04-07 02:54:12 +02:00
2012-03-08 22:07:54 +01:00

Libav README
------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.
Description
No description provided
Readme 173 MiB
Languages
C 92.1%
Assembly 6%
Makefile 1.2%
C++ 0.3%
Objective-C 0.2%
Other 0.1%