aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hevc_data.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-06-22 11:33:32 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-06-24 18:32:03 +0200
commit70dc5fc658567f2d1d3f090f21ece364054a999c (patch)
tree94124b6b60ddb56293f4ae57465444a8801f93f0 /libavcodec/hevc_data.h
parenta217c1472d3bb2dc949ac45f241336ae65c3a7b7 (diff)
downloadffmpeg-70dc5fc658567f2d1d3f090f21ece364054a999c.tar.gz
avcodec/hevc_sei: Fix check for SEI end
The intention behind the current check seems to be to check for the rbsp_trailing_bits() syntax structure which is always 0x80 for valid SEI messages. Yet this is wrong: These trailing bits are not part of the GetBitContext -- they have already been stripped in ff_h2645_packet_split(). And it is harmful, as 0x80 is a legal SEI message payload type (namely for Structure of pictures information SEI messages). We ignore this type of SEI, but because of this bug we also ignored every SEI message in the same NALU following it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/hevc_data.h')
0 files changed, 0 insertions, 0 deletions