[Ffmpeg-devel] [PATCH] part 8 - portability fixes (ILP32 vs LP64)

Dieter freebsd
Sun Jan 29 21:13:26 CET 2006


Diffs for file: libavcodec/dvdsub.c

===================================================================
RCS file: RCS/dvdsub.c,v
retrieving revision 1.1
diff -u -r1.1 dvdsub.c
--- dvdsub.c    2006/01/30 02:41:12     1.1
+++ dvdsub.c    2006/01/30 02:42:02
@@ -28,12 +28,12 @@
     return 0;
 }
 
-uint16_t getbe16(const uint8_t *p)
+static uint16_t getbe16(const uint8_t *p)
 {
     return (p[0] << 8) | p[1];
 }
 
-int get_nibble(const uint8_t *buf, int nibble_offset)
+static int get_nibble(const uint8_t *buf, int nibble_offset)
 {
     return (buf[nibble_offset >> 1] >> ((1 - (nibble_offset & 1)) << 2)) & 0xf;
 }





More information about the ffmpeg-devel mailing list