diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-10-01 17:41:28 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2012-03-14 21:27:22 +0100 |
commit | a81a6d9c80448cfbba0d2bcdd681bf971c7055a4 (patch) | |
tree | e9e958f981590841592907edafecefbb52028572 /libavdevice/jack_audio.c | |
parent | 48f0eeb2e519882da9fe156abaa95cc808b67a8b (diff) | |
download | ffmpeg-a81a6d9c80448cfbba0d2bcdd681bf971c7055a4.tar.gz |
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 3aa661ec561d7a20812b84b353b0d7855ac346c8)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavdevice/jack_audio.c')
0 files changed, 0 insertions, 0 deletions