Skip to content

codec-utils: Avoid out-of-bounds error

David Svensson Fors requested to merge davidsf/gstreamer:codec_utils into main

For artificial input (in unit tests), all six bytes of constraint_indicator_flags in hevc_caps_get_mime_codec() can be zero. Add a guard against an out-of-bounds error that occurred in that case. Change variables to signed int so comparison with -1 works.

Merge request reports