mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
dvdread, sidplay, x264enc: fix unused-but-set-variable warnings with gcc 4.6
This commit is contained in:
parent
81173fcbad
commit
4d3311566c
3 changed files with 1 additions and 6 deletions
|
@ -724,7 +724,7 @@ gst_dvd_read_src_read (GstDvdReadSrc * src, gint angle, gint new_seek,
|
||||||
GstSegment *seg;
|
GstSegment *seg;
|
||||||
guint8 oneblock[DVD_VIDEO_LB_LEN];
|
guint8 oneblock[DVD_VIDEO_LB_LEN];
|
||||||
dsi_t dsi_pack;
|
dsi_t dsi_pack;
|
||||||
guint next_vobu, next_ilvu_start, cur_output_size;
|
guint next_vobu, cur_output_size;
|
||||||
gint len;
|
gint len;
|
||||||
gint retries;
|
gint retries;
|
||||||
gint64 next_time;
|
gint64 next_time;
|
||||||
|
@ -811,7 +811,6 @@ nav_retry:
|
||||||
|
|
||||||
/* determine where we go next. These values are the ones we
|
/* determine where we go next. These values are the ones we
|
||||||
* mostly care about */
|
* mostly care about */
|
||||||
next_ilvu_start = src->cur_pack + dsi_pack.sml_agli.data[angle].address;
|
|
||||||
cur_output_size = dsi_pack.dsi_gi.vobu_ea + 1;
|
cur_output_size = dsi_pack.dsi_gi.vobu_ea + 1;
|
||||||
|
|
||||||
/* If we're not at the end of this cell, we can determine the next
|
/* If we're not at the end of this cell, we can determine the next
|
||||||
|
|
|
@ -189,10 +189,8 @@ static void
|
||||||
gst_siddec_class_init (GstSidDec * klass)
|
gst_siddec_class_init (GstSidDec * klass)
|
||||||
{
|
{
|
||||||
GObjectClass *gobject_class;
|
GObjectClass *gobject_class;
|
||||||
GstElementClass *gstelement_class;
|
|
||||||
|
|
||||||
gobject_class = (GObjectClass *) klass;
|
gobject_class = (GObjectClass *) klass;
|
||||||
gstelement_class = (GstElementClass *) klass;
|
|
||||||
|
|
||||||
parent_class = GST_ELEMENT_CLASS (g_type_class_peek_parent (klass));
|
parent_class = GST_ELEMENT_CLASS (g_type_class_peek_parent (klass));
|
||||||
|
|
||||||
|
|
|
@ -1667,7 +1667,6 @@ gst_x264_enc_encode_frame (GstX264Enc * encoder, x264_picture_t * pic_in,
|
||||||
#endif
|
#endif
|
||||||
int encoder_return;
|
int encoder_return;
|
||||||
GstFlowReturn ret;
|
GstFlowReturn ret;
|
||||||
GstClockTime timestamp;
|
|
||||||
GstClockTime duration;
|
GstClockTime duration;
|
||||||
guint8 *data;
|
guint8 *data;
|
||||||
GstEvent *forcekeyunit_event = NULL;
|
GstEvent *forcekeyunit_event = NULL;
|
||||||
|
@ -1723,7 +1722,6 @@ gst_x264_enc_encode_frame (GstX264Enc * encoder, x264_picture_t * pic_in,
|
||||||
|
|
||||||
in_buf = g_queue_pop_head (encoder->delay);
|
in_buf = g_queue_pop_head (encoder->delay);
|
||||||
if (in_buf) {
|
if (in_buf) {
|
||||||
timestamp = GST_BUFFER_TIMESTAMP (in_buf);
|
|
||||||
duration = GST_BUFFER_DURATION (in_buf);
|
duration = GST_BUFFER_DURATION (in_buf);
|
||||||
gst_buffer_unref (in_buf);
|
gst_buffer_unref (in_buf);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue