mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
lame: Remove unneeded variable, it's assigned a value never read.
This commit is contained in:
parent
d081a77016
commit
c02f6b9092
1 changed files with 2 additions and 2 deletions
|
@ -1009,14 +1009,14 @@ gst_lame_sink_event (GstPad * pad, GstEvent * event)
|
||||||
case GST_EVENT_FLUSH_STOP:
|
case GST_EVENT_FLUSH_STOP:
|
||||||
{
|
{
|
||||||
guchar *mp3_data = NULL;
|
guchar *mp3_data = NULL;
|
||||||
gint mp3_buffer_size, mp3_size = 0;
|
gint mp3_buffer_size;
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (lame, "handling FLUSH stop event");
|
GST_DEBUG_OBJECT (lame, "handling FLUSH stop event");
|
||||||
|
|
||||||
/* clear buffers */
|
/* clear buffers */
|
||||||
mp3_buffer_size = 7200;
|
mp3_buffer_size = 7200;
|
||||||
mp3_data = g_malloc (mp3_buffer_size);
|
mp3_data = g_malloc (mp3_buffer_size);
|
||||||
mp3_size = lame_encode_flush (lame->lgf, mp3_data, mp3_buffer_size);
|
lame_encode_flush (lame->lgf, mp3_data, mp3_buffer_size);
|
||||||
|
|
||||||
ret = gst_pad_push_event (lame->srcpad, event);
|
ret = gst_pad_push_event (lame->srcpad, event);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue