diff h263.c @ 2437:8a30df830ad6 libavcodec

x86_64 pointer typecast fix by (Martin Drab <drab kepler.fjfi.cvut cz>)
author michael
date Tue, 18 Jan 2005 01:01:54 +0000
parents 18b8b2dcc037
children f5fe61bd08ac
line wrap: on
line diff
--- a/h263.c	Mon Jan 17 18:25:32 2005 +0000
+++ b/h263.c	Tue Jan 18 01:01:54 2005 +0000
@@ -3009,7 +3009,7 @@
     uint8_t *start= pbBufPtr(&s->pb);
     uint8_t *end= s->pb.buf_end;
     int size= end - start;
-    int pb_size = (((int)start + size/3)&(~3)) - (int)start;
+    int pb_size = (((long)start + size/3)&(~3)) - (long)start;
     int tex_size= (size - 2*pb_size)&(~3);
     
     set_put_bits_buffer_size(&s->pb, pb_size);