mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
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:
parent
3ee4896bef
commit
f7b5151b58
1 changed files with 1 additions and 1 deletions
|
@ -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) \
|
||||
|
|
Loading…
Reference in a new issue