mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
mpegstream: fix unused-but-set-variable warnings with gcc 4.6
This commit is contained in:
parent
4d3311566c
commit
120731ee4e
1 changed files with 2 additions and 3 deletions
|
@ -636,8 +636,7 @@ gst_mpeg_demux_parse_packet (GstMPEGParse * mpeg_parse, GstBuffer * buffer)
|
||||||
guint16 headerlen;
|
guint16 headerlen;
|
||||||
|
|
||||||
guint16 packet_length;
|
guint16 packet_length;
|
||||||
gboolean STD_buffer_bound_scale;
|
guint16 STD_buffer_size_bound G_GNUC_UNUSED;
|
||||||
guint16 STD_buffer_size_bound;
|
|
||||||
guint64 dts;
|
guint64 dts;
|
||||||
gint64 pts = -1;
|
gint64 pts = -1;
|
||||||
|
|
||||||
|
@ -677,7 +676,7 @@ gst_mpeg_demux_parse_packet (GstMPEGParse * mpeg_parse, GstBuffer * buffer)
|
||||||
case 0x40:
|
case 0x40:
|
||||||
GST_DEBUG_OBJECT (mpeg_demux, "have STD");
|
GST_DEBUG_OBJECT (mpeg_demux, "have STD");
|
||||||
|
|
||||||
STD_buffer_bound_scale = bits & 0x20;
|
/* STD_buffer_bound_scale = ((bits & 0x20) == 0x20); */
|
||||||
STD_buffer_size_bound = ((guint16) (bits & 0x1F)) << 8;
|
STD_buffer_size_bound = ((guint16) (bits & 0x1F)) << 8;
|
||||||
STD_buffer_size_bound |= *buf++;
|
STD_buffer_size_bound |= *buf++;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue