aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2018-06-08 16:40:29 +0100
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2018-06-12 16:10:31 +0100
commit238a8ae92fc74fa0f0ac15db5f0fec464db5db7c (patch)
tree784fc2cccdef7a8d8161bcfbd9ade3ba326eb1b7 /libavcodec
parent8c20ea8ee0f3f0b27aca0204c6dfaa4ac137e34e (diff)
downloadffmpeg-238a8ae92fc74fa0f0ac15db5f0fec464db5db7c.tar.gz
pixdesc: Only check against valid entries when iterating over lists of enums
Some of these enums have gaps in between their values, since they correspond to the values in various specs, instead of being an incrementing list. Fixes segfaults when, for example, using the valid API call: av_color_primaries_from_name("jecdec-p22"); Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec')
0 files changed, 0 insertions, 0 deletions