h264parser: Removed impossible error case
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 7 May 2020 11:43:30 +0000 (07:43 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 7 May 2020 16:08:36 +0000 (12:08 -0400)
commit80524fb3da137177be2102cdd4b3d1401ba2f94a
treebd543162f01afdc63babbbba7c9db591b113bb5b
parentdc4c470d7518ceba69a501f149952cfa00052256
h264parser: Removed impossible error case

Same as done for H264, this error was trying to catch the case where we had
a start code without any bytes afterward. This will never happen since the
start code scanner only returns a match if there is one byte after start
code (pattern 0x00000100 / mask 0xffffff00). In H264, once byte is sufficient
to identify the NALU.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1251>
gst-libs/gst/codecparsers/gsth264parser.c