gst-libs/gst/riff/riff-read.c: Use GST_ROUND_UP_2 macro
Original commit message from CVS: * gst-libs/gst/riff/riff-read.c: Use GST_ROUND_UP_2 macro
This commit is contained in:
parent
377bde7868
commit
169259294f
@ -1,3 +1,8 @@
|
||||
2007-12-20 Thijs Vermeir <thijsvermeir@gmail.com>
|
||||
|
||||
* gst-libs/gst/riff/riff-read.c:
|
||||
Use GST_ROUND_UP_2 macro
|
||||
|
||||
2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/playback/.cvsignore:
|
||||
|
@ -90,7 +90,7 @@ skip_junk:
|
||||
goto too_small;
|
||||
|
||||
*_chunk_data = buf;
|
||||
*_offset += 8 + ((size + 1) & ~1);
|
||||
*_offset += 8 + GST_ROUND_UP_2 (size);
|
||||
|
||||
return GST_FLOW_OK;
|
||||
|
||||
@ -166,7 +166,7 @@ gst_riff_parse_chunk (GstElement * element, GstBuffer * buf,
|
||||
*chunk_data = NULL;
|
||||
|
||||
*_fourcc = fourcc;
|
||||
*_offset += 8 + ((size + 1) & ~1);
|
||||
*_offset += 8 + GST_ROUND_UP_2 (size);
|
||||
|
||||
return TRUE;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user