From 1d0b3b20c34517b9d1ddf3ea347776304b0c4b44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sat, 1 Mar 2008 03:05:13 +0100 Subject: Update internal FFmpeg copy. --- contrib/ffmpeg/libavutil/integer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'contrib/ffmpeg/libavutil/integer.c') diff --git a/contrib/ffmpeg/libavutil/integer.c b/contrib/ffmpeg/libavutil/integer.c index 3269a366a..a7ab5c97f 100644 --- a/contrib/ffmpeg/libavutil/integer.c +++ b/contrib/ffmpeg/libavutil/integer.c @@ -17,7 +17,6 @@ * You should have received a copy of the GNU Lesser General Public * License along with FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * */ /** @@ -157,7 +156,7 @@ int64_t av_i2int(AVInteger a){ return out; } -#if 0 +#ifdef TEST #undef NDEBUG #include @@ -172,7 +171,7 @@ const uint8_t ff_log2_tab[256]={ 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7 }; -main(){ +int main(void){ int64_t a,b; for(a=7; a<256*256*256; a+=13215){ @@ -193,5 +192,6 @@ main(){ assert(av_i2int(av_div_i(ai,bi)) == a/b); } } + return 0; } #endif -- cgit v1.2.3