Commit 16925929 authored by Thijs Vermeir's avatar Thijs Vermeir

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
parent 377bde78
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment