summaryrefslogtreecommitdiff
path: root/apps/codecs/libwmapro/libavutil/mathematics.c
diff options
context:
space:
mode:
authorMohamed Tarek <mt@rockbox.org>2010-04-30 12:20:25 +0000
committerMohamed Tarek <mt@rockbox.org>2010-04-30 12:20:25 +0000
commitfe147cec651486d39967f24d0d1bbe6ae1cd067b (patch)
treeef15055d39c17e05c91f591b5d4f264bfd421e5e /apps/codecs/libwmapro/libavutil/mathematics.c
parentcf43e5083b9e0f87de262ea31fd8067225ebfcda (diff)
downloadrockbox-fe147cec651486d39967f24d0d1bbe6ae1cd067b.tar.gz
rockbox-fe147cec651486d39967f24d0d1bbe6ae1cd067b.zip
Modify the ffmpeg source files in apps/codecs/libwmapro in order to compile the codec standalone.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25764 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwmapro/libavutil/mathematics.c')
-rw-r--r--apps/codecs/libwmapro/libavutil/mathematics.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libwmapro/libavutil/mathematics.c b/apps/codecs/libwmapro/libavutil/mathematics.c
index 81d47c1bf1..04f3e870d1 100644
--- a/apps/codecs/libwmapro/libavutil/mathematics.c
+++ b/apps/codecs/libwmapro/libavutil/mathematics.c
@@ -129,7 +129,7 @@ int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd){
129int64_t av_rescale(int64_t a, int64_t b, int64_t c){ 129int64_t av_rescale(int64_t a, int64_t b, int64_t c){
130 return av_rescale_rnd(a, b, c, AV_ROUND_NEAR_INF); 130 return av_rescale_rnd(a, b, c, AV_ROUND_NEAR_INF);
131} 131}
132 132#if 0
133int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq){ 133int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq){
134 int64_t b= bq.num * (int64_t)cq.den; 134 int64_t b= bq.num * (int64_t)cq.den;
135 int64_t c= cq.num * (int64_t)bq.den; 135 int64_t c= cq.num * (int64_t)bq.den;
@@ -143,7 +143,7 @@ int av_compare_ts(int64_t ts_a, AVRational tb_a, int64_t ts_b, AVRational tb_b){
143 if (av_rescale_rnd(ts_b, b, a, AV_ROUND_DOWN) < ts_a) return 1; 143 if (av_rescale_rnd(ts_b, b, a, AV_ROUND_DOWN) < ts_a) return 1;
144 return 0; 144 return 0;
145} 145}
146 146#endif
147#ifdef TEST 147#ifdef TEST
148#include "integer.h" 148#include "integer.h"
149#undef printf 149#undef printf