av1parser: Fix array sizes in scalability structure
authorSeungha Yang <seungha@centricular.com>
Thu, 23 Nov 2023 11:24:42 +0000 (20:24 +0900)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 18 Dec 2023 10:50:18 +0000 (10:50 +0000)
commita46737a73155fe1c19fa5115df40da35426f9fb5
tree72bd0309695ae60ce42d3d549d99b46b48bddae7
parentc4aba75dc6c303c32fd537919402032eddb39dcb
av1parser: Fix array sizes in scalability structure

Since the AV1 specification is not explicitly mentioning about
the array size bounds, array sizes in scalability structure
should be defined as possible maximum sizes that can have.

Also, this commit removes GST_AV1_MAX_SPATIAL_LAYERS define from
public header which is API break but the define is misleading
and this patch is introducing ABI break already

ZDI-CAN-22300

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5824>
subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstav1parser.h
subprojects/gst-plugins-bad/gst/videoparsers/gstav1parse.c