summaryrefslogtreecommitdiff
path: root/contrib/ffmpeg/libavutil/integer.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-03-01 03:05:13 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-03-01 03:05:13 +0100
commit1d0b3b20c34517b9d1ddf3ea347776304b0c4b44 (patch)
tree89f4fc640c2becc6f00ae08996754952ecf149c1 /contrib/ffmpeg/libavutil/integer.c
parent09496ad3469a0ade8dbd9a351e639b78f20b7942 (diff)
downloadxine-lib-1d0b3b20c34517b9d1ddf3ea347776304b0c4b44.tar.gz
xine-lib-1d0b3b20c34517b9d1ddf3ea347776304b0c4b44.tar.bz2
Update internal FFmpeg copy.
Diffstat (limited to 'contrib/ffmpeg/libavutil/integer.c')
-rw-r--r--contrib/ffmpeg/libavutil/integer.c6
1 files changed, 3 insertions, 3 deletions
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 <assert.h>
@@ -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