aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dvdec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-12-28 11:27:56 +0100
committerAnton Khirnov <anton@khirnov.net>2017-03-12 20:42:12 +0100
commit83b2b34d06e74cc8775ba3d833f9782505e17539 (patch)
treea60bb55456b8fa0d1adabaad7762e79c0bdec36a /libavcodec/dvdec.c
parentb76f6a76c6312dc551d7c37c6ded36bea7973c74 (diff)
downloadffmpeg-83b2b34d06e74cc8775ba3d833f9782505e17539.tar.gz
h2645_parse: use the bytestream2 API for packet splitting
The code does some nontrivial jumping around in the buffer, so it is safer to use a checked API rather than do everything manually. Fixes a bug in nalff parsing, where the length field is currently not counted in the buffer size check, resulting in possible overreads with invalid files. CC: libav-stable@libav.org Bug-Id: 1002 Found-By: Kamil Frankowicz
Diffstat (limited to 'libavcodec/dvdec.c')
0 files changed, 0 insertions, 0 deletions