avidemux: Also detect 0x000001 as H264 byte-stream start code in codec_data
authorSebastian Dröge <sebastian@centricular.com>
Thu, 2 Sep 2021 05:38:54 +0000 (08:38 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 2 Sep 2021 12:07:52 +0000 (12:07 +0000)
commitfedd6c2a28e1abd34b6e590e5c060c87c7e9231b
tree3831f824faa42ff9e67ec43cdf778f2d805d2b58
parentab6cb4c2c79f1c3681556f8fc98fbc95039f0b29
avidemux: Also detect 0x000001 as H264 byte-stream start code in codec_data

This works around some AVI files storing byte-stream data in the
codec_data. The previous workaround was only checking for
0x00000001 (4 bytes) instead of 0x000001 (3 bytes).

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1072>
gst/avi/gstavidemux.c