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:
Thijs Vermeir 2007-12-20 19:43:25 +00:00
parent 377bde7868
commit 169259294f
2 changed files with 7 additions and 2 deletions

View file

@ -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:

View file

@ -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;