mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-04 22:48:54 +00:00
rtphdrhext-twcc: Return failure on map failure
This feels like exactly like a case that should fail. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1059>
This commit is contained in:
parent
f8f24a2619
commit
972184f434
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ gst_rtp_header_extension_twcc_write (GstRTPHeaderExtension * ext,
|
|||
map_failed:
|
||||
{
|
||||
GST_ERROR ("failed to map buffer %p", output);
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
|
||||
existing_too_small:
|
||||
|
|
Loading…
Reference in a new issue