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
@ -214,7 +214,7 @@ gst_rtp_header_extension_twcc_write (GstRTPHeaderExtension * ext,
|
|||||||
map_failed:
|
map_failed:
|
||||||
{
|
{
|
||||||
GST_ERROR ("failed to map buffer %p", output);
|
GST_ERROR ("failed to map buffer %p", output);
|
||||||
return 0;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
existing_too_small:
|
existing_too_small:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user