From 09fedf23246bd7b622a362c57e34143cb7af32bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 19 Dec 2007 10:55:55 +0100 Subject: Mark Annodex signature and its size static and constant. --- src/combined/xine_ogg_demuxer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/combined/xine_ogg_demuxer.c b/src/combined/xine_ogg_demuxer.c index ea03b5eec..edf98eb0a 100644 --- a/src/combined/xine_ogg_demuxer.c +++ b/src/combined/xine_ogg_demuxer.c @@ -1960,8 +1960,8 @@ static int detect_anx_content (int detection_method, demux_class_t *class_gen, case METHOD_BY_CONTENT: { uint8_t buf[ANNODEX_SIGNATURE_SEARCH]; int found_annodex_signature = 0; - const char *annodex_signature = "Annodex"; - int annodex_signature_length = 7; /* = strlen(annodex_signature) */ + static const char annodex_signature[] = "Annodex"; + static const int annodex_signature_length = 7; /* = strlen(annodex_signature) */ int i, j; if (_x_demux_read_header(input, buf, ANNODEX_SIGNATURE_SEARCH) != -- cgit v1.2.3