rtpg729depay: unmap rtp buffer in error path
This commit is contained in:
parent
f07d61a9ef
commit
f0c6b728f8
@ -214,6 +214,7 @@ gst_rtp_g729_depay_process (GstRTPBaseDepayload * depayload, GstBuffer * buf)
|
|||||||
bad_packet:
|
bad_packet:
|
||||||
{
|
{
|
||||||
/* no fatal error */
|
/* no fatal error */
|
||||||
|
gst_rtp_buffer_unmap (&rtp);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user