codecparsers: av1: Do not assert in identify_one_obu when check annex b size.
authorHe Junyan <junyan.he@intel.com>
Mon, 28 Sep 2020 10:22:08 +0000 (18:22 +0800)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 17 Nov 2020 19:31:09 +0000 (19:31 +0000)
commit227d7a93272f2ab9665e1b070d5b65016bbe11c6
treeb9081bb16ae2234a83aefb8ba822bb6d8e4a769f
parentb511761f70fb7d7a8c1fd1f76ed26a904e21ec91
codecparsers: av1: Do not assert in identify_one_obu when check annex b size.

Some buggy stream just writes the wrong temporal unit and frame size in
the stream. We should return failure rather than assert to abort.

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