mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
twolame: Remove unneeded variable, value assigned was never read.
This commit is contained in:
parent
3a523c2c79
commit
8d2a30200b
1 changed files with 2 additions and 3 deletions
|
@ -684,15 +684,14 @@ gst_two_lame_sink_event (GstPad * pad, GstEvent * event)
|
|||
case GST_EVENT_FLUSH_STOP:
|
||||
{
|
||||
guchar *mp3_data = NULL;
|
||||
gint mp3_buffer_size, mp3_size = 0;
|
||||
gint mp3_buffer_size;
|
||||
|
||||
GST_DEBUG_OBJECT (twolame, "handling FLUSH stop event");
|
||||
|
||||
/* clear buffers */
|
||||
mp3_buffer_size = 16384;
|
||||
mp3_data = g_malloc (mp3_buffer_size);
|
||||
mp3_size =
|
||||
twolame_encode_flush (twolame->glopts, mp3_data, mp3_buffer_size);
|
||||
twolame_encode_flush (twolame->glopts, mp3_data, mp3_buffer_size);
|
||||
|
||||
ret = gst_pad_push_event (twolame->srcpad, event);
|
||||
|
||||
|
|
Loading…
Reference in a new issue