mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
rtpdtmfsrc: fix compiler warning
gstrtpdtmfsrc.c: In function 'gst_dtmf_src_prepare_message.isra.1': gstrtpdtmfsrc.c:669:3: error: 's' may be used uninitialized in this function
This commit is contained in:
parent
bbc8fda864
commit
74d1f8a400
1 changed files with 2 additions and 0 deletions
|
@ -664,6 +664,8 @@ gst_dtmf_src_prepare_message (GstRTPDTMFSrc * dtmfsrc,
|
|||
break;
|
||||
case RTP_DTMF_EVENT_TYPE_PAUSE_TASK:
|
||||
return NULL;
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return gst_message_new_element (GST_OBJECT (dtmfsrc), s);
|
||||
|
|
Loading…
Reference in a new issue