mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +00:00
gst/h264parse/gsth264parse.c: Try to avoid 'unused variable' compiler warning if debugging is disabled (not bullet pr...
Original commit message from CVS: * gst/h264parse/gsth264parse.c: (gst_h264_parse_chain_forward): Try to avoid 'unused variable' compiler warning if debugging is disabled (not bullet proof, but seems to do for now). (#512654)
This commit is contained in:
parent
e6e86c4f2d
commit
c459b9da7d
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2008-01-28 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* gst/h264parse/gsth264parse.c: (gst_h264_parse_chain_forward):
|
||||||
|
Try to avoid 'unused variable' compiler warning if debugging is
|
||||||
|
disabled (not bullet proof, but seems to do for now). (#512654)
|
||||||
|
|
||||||
2008-01-28 Sebastian Dröge <slomo@circular-chaos.org>
|
2008-01-28 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
* ext/soundtouch/gstbpmdetect.cc:
|
* ext/soundtouch/gstbpmdetect.cc:
|
||||||
|
|
|
@ -427,8 +427,10 @@ gst_h264_parse_chain_forward (GstH264Parse * h264parse, gboolean discont,
|
||||||
}
|
}
|
||||||
/* Figure out if this is a delta unit */
|
/* Figure out if this is a delta unit */
|
||||||
{
|
{
|
||||||
gint nal_type = (data[4] & 0x1f);
|
gint nal_type, nal_ref_idc;
|
||||||
gint nal_ref_idc = (data[4] & 0x60) >> 5;
|
|
||||||
|
nal_type = (data[4] & 0x1f);
|
||||||
|
nal_ref_idc = (data[4] & 0x60) >> 5;
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (h264parse, "NAL type: %d, ref_idc: %d", nal_type,
|
GST_DEBUG_OBJECT (h264parse, "NAL type: %d, ref_idc: %d", nal_type,
|
||||||
nal_ref_idc);
|
nal_ref_idc);
|
||||||
|
|
Loading…
Reference in a new issue