mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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
2 changed files with 7 additions and 2 deletions
|
@ -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…
Reference in a new issue