mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
qtdemux: Fix compiler warning
qtdemux.c: In function ‘qtdemux_parse_tree’: qtdemux.c:10139:16: error: ‘color_table_id’ may be used uninitialized in this function [-Werror=maybe-uninitialized] if (color_table_id != 0) { ^ qtdemux.c:10121:19: note: ‘color_table_id’ was declared here guint16 color_table_id; ^~~~~~~~~~~~~~
This commit is contained in:
parent
c709abbb99
commit
68b0441a5e
1 changed files with 1 additions and 1 deletions
|
@ -10118,7 +10118,7 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
|
|||
const off_t min_size = compressor_offset + 32 + 2 + 2;
|
||||
GNode *jpeg;
|
||||
guint32 len;
|
||||
guint16 color_table_id;
|
||||
guint16 color_table_id = 0;
|
||||
gboolean ok;
|
||||
|
||||
GST_DEBUG_OBJECT (qtdemux, "found jpeg");
|
||||
|
|
Loading…
Reference in a new issue