Skip to content
Snippets Groups Projects
Commit 3aa661ec authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Janne Grunau
Browse files

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: default avatarJanne Grunau <janne-libav@jannau.net>
parent bd3e07c8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment