bitwriter: fix compiler warning

Don't return a value from a function that doesn't
return a value using the returned value from a
function that also doesn't return a value.

gstbitwriter.h(265): warning C4098: 'gst_bit_writer_align_bytes_unchecked': 'void' function returning a value
This commit is contained in:
Tim-Philipp Müller 2018-08-26 00:16:51 +02:00
parent 3ee4896bef
commit f7b5151b58

View file

@ -262,7 +262,7 @@ gst_bit_writer_align_bytes_unchecked (GstBitWriter * bitwriter,
bit_left = 8 - bit_offset;
if (trailing_bit)
value = _gst_bit_writer_bit_filling_mask[bit_left];
return gst_bit_writer_put_bits_uint8_unchecked (bitwriter, value, bit_left);
gst_bit_writer_put_bits_uint8_unchecked (bitwriter, value, bit_left);
}
#define __GST_BIT_WRITER_WRITE_BITS_INLINE(bits) \