rtph264depay: fix an error when the total number of SPS was 32

The mask 0x1f would filter out any number greater than 31.
So in the codec data, we would write 0 as the number of SPS's when the 32nd SPS (with id 31) arrived.
Here we make sure that the array is no longer than 32, so we can write
in the codec_data the total number of SPS without any mask.
19 jobs for rtph264depay-fix-32nd-sps in 11 minutes and 5 seconds (queued for 3 seconds)
latest
Status Job ID Name Coverage
  Preparation
passed #415333
gst indent

00:00:16

passed #415332
manifest

00:00:34

 
  Build
passed #415339
build cerbero android universal

00:10:30

failed #415340
build cerbero cross win32

00:06:33

failed #415341
build cerbero cross win64

00:03:50

failed #415338
build cerbero fedora x86_64

00:03:34

manual #415343
gst-ios-12.2 allowed to fail manual
build cerbero ios universal
passed #415342
gst-macos-10.14
build cerbero macos x86_64

00:06:49

failed #415334
build fedora x86_64

00:03:37

failed #415335
build nodebug fedora x86_64

00:02:54

failed #415336
build static fedora x86_64

00:03:38

failed #415337
build static nodebug fedora x86_64

00:02:54

 
  Test
skipped #415344
check fedora
skipped #415345
integration testsuites fedora
skipped #415347
valgrind bad
skipped #415348
valgrind ges
skipped #415346
valgrind good
 
  Integrate
skipped #415349
android universal examples
skipped #415350
documentation
 
Name Stage Failure
failed
build cerbero cross win32 Build
[352/696] ccache x86_64-w64-mingw32-gcc -m32 -Igst/isomp4/498add4@@gstisomp4@sha -Igst/isomp4 -I../gst/isomp4 -I. -I../ -I../gst-libs -I/builds/marcosk/gst-plugins-good/cerbero-build/dist/windows_x86/include/gstreamer-1.0 -I/builds/marcosk/gst-plugins-good/cerbero-build/dist/windows_x86/include/glib-2.0 -I/builds/marcosk/gst-plugins-good/cerbero-build/dist/windows_x86/lib/glib-2.0/include -I/builds/marcosk/gst-plugins-good/cerbero-build/dist/windows_x86/include/orc-0.4 -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Werror -O2 -g -fvisibility=hidden -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -Wmissing-declarations -Wredundant-decls -Wwrite-strings -Winit-self -Wmissing-include-dirs -Wno-multichar -Wvla -Wpointer-arith -Wmissing-prototypes -Wdeclaration-after-statement -Wold-style-definition -Waggregate-return -pthread -DHAVE_CONFIG_H -Wall -g -O2 -m32 -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -DLIBSOUP_DOES_NOT_STEAL_OUR_CONTEXT=1 -MD -MQ 'gst/isomp4/498add4@@gstisomp4@sha/qtdemux.c.obj' -MF 'gst/isomp4/498add4@@gstisomp4@sha/qtdemux.c.obj.d' -o 'gst/isomp4/498add4@@gstisomp4@sha/qtdemux.c.obj' -c ../gst/isomp4/qtdemux.c
ninja: build stopped: subcommand failed.

Uploading artifacts...
manifest.xml: found 1 matching files
cerbero-build/logs: found 31 matching files

WARNING: *.tar.bz2: no matching files
Uploading artifacts to coordinator... ok
id=415340 responseStatus=201 Created token=m46cNgot
ERROR: Job failed: exit code 1
failed
build cerbero cross win64 Build
0:01:58 Recipe 'gst-plugins-good-1.0' failed at the build step 'compile'
Fatal Error: Running ['sh', '-c', 'ninja -v -d keeprsp'], returncode 1

Uploading artifacts...
manifest.xml: found 1 matching files
cerbero-build/logs: found 31 matching files

WARNING: *.tar.bz2: no matching files
Uploading artifacts to coordinator... ok
id=415341 responseStatus=201 Created token=dokPERXx
ERROR: Job failed: exit code 1
failed
build static fedora x86_64 Build
$ cd gst-build/
$ test -d build && find build -name '*.[ao]' -delete
$ rm -rf subprojects/*/.git/
$ rm -rf build/subprojects/*/.git/
Uploading artifacts...
manifest.xml: found 1 matching files
gst-build/: found 33242 matching files

Uploading artifacts to coordinator... ok
id=415336 responseStatus=201 Created token=BZH__fZZ
ERROR: Job failed: exit code 1
failed
build fedora x86_64 Build
$ cd gst-build/
$ test -d build && find build -name '*.[ao]' -delete
$ rm -rf subprojects/*/.git/
$ rm -rf build/subprojects/*/.git/
Uploading artifacts...
manifest.xml: found 1 matching files
gst-build/: found 33272 matching files

Uploading artifacts to coordinator... ok
id=415334 responseStatus=201 Created token=Lkp6FZRb
ERROR: Job failed: exit code 1
failed
build cerbero fedora x86_64 Build
[365/761] ccache gcc -Igst/isomp4/498add4@@gstisomp4@sha -Igst/isomp4 -I../gst/isomp4 -I. -I../ -I../gst-libs -I/builds/marcosk/gst-plugins-good/cerbero-build/dist/linux_x86_64/include/gstreamer-1.0 -I/builds/marcosk/gst-plugins-good/cerbero-build/dist/linux_x86_64/include/glib-2.0 -I/builds/marcosk/gst-plugins-good/cerbero-build/dist/linux_x86_64/lib/glib-2.0/include -I/builds/marcosk/gst-plugins-good/cerbero-build/dist/linux_x86_64/include/orc-0.4 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -fvisibility=hidden -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -Wmissing-declarations -Wredundant-decls -Wwrite-strings -Winit-self -Wmissing-include-dirs -Wno-multichar -Wvla -Wpointer-arith -Wmissing-prototypes -Wdeclaration-after-statement -Wold-style-definition -Waggregate-return -Wall -g -O2 -m64 -Wall -g -O2 -m64 -Wall -g -O2 -m64 -DLIBSOUP_DOES_NOT_STEAL_OUR_CONTEXT=1 -fPIC -pthread -DHAVE_CONFIG_H  -MD -MQ 'gst/isomp4/498add4@@gstisomp4@sha/qtdemux.c.o' -MF 'gst/isomp4/498add4@@gstisomp4@sha/qtdemux.c.o.d' -o 'gst/isomp4/498add4@@gstisomp4@sha/qtdemux.c.o' -c ../gst/isomp4/qtdemux.c
ninja: build stopped: subcommand failed.

Uploading artifacts...
manifest.xml: found 1 matching files
cerbero-build/logs: found 27 matching files

WARNING: *.tar.bz2: no matching files
Uploading artifacts to coordinator... ok
id=415338 responseStatus=201 Created token=zAjzHWS4
ERROR: Job failed: exit code 1
failed
build nodebug fedora x86_64 Build
$ cd gst-build/
$ test -d build && find build -name '*.[ao]' -delete
$ rm -rf subprojects/*/.git/
$ rm -rf build/subprojects/*/.git/
Uploading artifacts...
manifest.xml: found 1 matching files
gst-build/: found 33114 matching files

Uploading artifacts to coordinator... ok
id=415335 responseStatus=201 Created token=3h5w77rr
ERROR: Job failed: exit code 1
failed
build static nodebug fedora x86_64 Build
$ cd gst-build/
$ test -d build && find build -name '*.[ao]' -delete
$ rm -rf subprojects/*/.git/
$ rm -rf build/subprojects/*/.git/
Uploading artifacts...
manifest.xml: found 1 matching files
gst-build/: found 33031 matching files

Uploading artifacts to coordinator... ok
id=415337 responseStatus=201 Created token=8vdHSmRL
ERROR: Job failed: exit code 1