summaryrefslogtreecommitdiff
path: root/libavcodec/dvdsub.c
diff options
context:
space:
mode:
authorDieter <freebsd@sopwith.solgatos.com>2006-01-30 23:33:19 +0000
committerMåns Rullgård <mans@mansr.com>2006-01-30 23:33:19 +0000
commitceaf1909c19431e9b089535fae32a7f8d185d802 (patch)
tree31c243ba9963b4df69d09d6f6a46acf407ca551c /libavcodec/dvdsub.c
parenta851b8e898fa1d2d44660ca5708e3da76107f179 (diff)
add static keyword to some functions
patch by Dieter <freebsd at sopwith solgatos com> Originally committed as revision 4913 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dvdsub.c')
-rw-r--r--libavcodec/dvdsub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dvdsub.c b/libavcodec/dvdsub.c
index bf05c1a8c8..7a07587133 100644
--- a/libavcodec/dvdsub.c
+++ b/libavcodec/dvdsub.c
@@ -28,12 +28,12 @@ static int dvdsub_init_decoder(AVCodecContext *avctx)
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;
}