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:
Tim-Philipp Müller 2013-01-26 22:58:29 +00:00
parent db5c3f4048
commit 47fccbe635

View file

@ -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);