r1006: configure: Use libx264_pic instead of libx264 if available.
[cinelerra_cv/mob.git] / libmpeg3 / workarounds.c
blobff46b88552b353eaaf7d249d4036cd33eb2115a1
1 // GCC 3.0 workarounds
4 #include "mpeg3private.h"
5 #include "mpeg3protos.h"
8 int64_t mpeg3io_tell_gcc(mpeg3_fs_t *fs)
10 return fs->current_byte;
13 double mpeg3_add_double_gcc(double x, double y)
15 return x + y;
18 double mpeg3_divide_double_gcc(double x, double y)
20 return x / y;
23 int64_t mpeg3_total_bytes_gcc(mpeg3_title_t *title)
25 return title->total_bytes;