aboutsummaryrefslogtreecommitdiffstats
path: root/tests/checkasm/bswapdsp.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-05-06 20:31:45 -0300
committerJames Almer <jamrial@gmail.com>2017-05-17 16:58:59 -0300
commitabe2d4de9286567e085ee012c30db99cf2f6b082 (patch)
treeea90a09bcd7ac45888e252b5b10fdcd850e4ecec /tests/checkasm/bswapdsp.c
parent30415662ef7a4d8f3a2bffd2a8c05a801b42a279 (diff)
downloadffmpeg-abe2d4de9286567e085ee012c30db99cf2f6b082.tar.gz
avcodec/hevc_sei: fix amount of bits skipped when reading picture timing SEI message
The code was skipping the entire reported SEI message size regardless of the amount of bits read. While in theory safe for NALU where the picture timing SEI message is alone or at the end as we're using the checked bitstream reader, it isn't in any other situation, where every SEI message in the NALU after the picture timing one would potentially fail to parse. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit f738140807f504c9af7850042067777832f05e88) Conflicts: libavcodec/hevc_sei.c
Diffstat (limited to 'tests/checkasm/bswapdsp.c')
0 files changed, 0 insertions, 0 deletions