mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +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
db5c3f4048
commit
47fccbe635
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