mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 13:18:52 +00:00
speexenc: initialise variable before adding to it
This commit is contained in:
parent
c5354bee04
commit
ca77c96c51
1 changed files with 1 additions and 1 deletions
|
@ -538,7 +538,7 @@ gst_speex_enc_encode (GstSpeexEnc * enc, GstBuffer * buf)
|
|||
{
|
||||
gint frame_size = enc->frame_size;
|
||||
gint bytes = frame_size * 2 * enc->channels, samples, size;
|
||||
gint outsize, written, dtx_ret;
|
||||
gint outsize, written, dtx_ret = 0;
|
||||
guint8 *data;
|
||||
GstBuffer *outbuf;
|
||||
GstFlowReturn ret = GST_FLOW_OK;
|
||||
|
|
Loading…
Reference in a new issue