mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
Fix some more compiler warning
Two (false) compiler warnings about variables potentially being used uninitialized, and one about a variable being set but not used. https://bugzilla.gnome.org/show_bug.cgi?id=759192
This commit is contained in:
parent
24168a2093
commit
ab28dea7c1
2 changed files with 2 additions and 2 deletions
|
@ -603,7 +603,7 @@ get_vps (GstVaapiDecoderH265 * decoder)
|
||||||
static guint
|
static guint
|
||||||
get_max_dec_frame_buffering (GstH265SPS * sps)
|
get_max_dec_frame_buffering (GstH265SPS * sps)
|
||||||
{
|
{
|
||||||
guint max_dec_frame_buffering;
|
G_GNUC_UNUSED guint max_dec_frame_buffering; /* FIXME */
|
||||||
GstVaapiLevelH265 level;
|
GstVaapiLevelH265 level;
|
||||||
const GstVaapiH265LevelLimits *level_limits;
|
const GstVaapiH265LevelLimits *level_limits;
|
||||||
|
|
||||||
|
|
|
@ -1511,7 +1511,7 @@ add_packed_sei_header (GstVaapiEncoderH264 * encoder,
|
||||||
VAEncPackedHeaderParameterBuffer packed_sei_param = { 0 };
|
VAEncPackedHeaderParameterBuffer packed_sei_param = { 0 };
|
||||||
guint32 data_bit_size;
|
guint32 data_bit_size;
|
||||||
guint8 buf_period_payload_size = 0, pic_timing_payload_size = 0;
|
guint8 buf_period_payload_size = 0, pic_timing_payload_size = 0;
|
||||||
guint8 *data, *buf_period_payload, *pic_timing_payload;
|
guint8 *data, *buf_period_payload = NULL, *pic_timing_payload = NULL;
|
||||||
gboolean need_buf_period, need_pic_timing;
|
gboolean need_buf_period, need_pic_timing;
|
||||||
|
|
||||||
gst_bit_writer_init (&bs_buf_period, 128 * 8);
|
gst_bit_writer_init (&bs_buf_period, 128 * 8);
|
||||||
|
|
Loading…
Reference in a new issue