diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-19 10:55:55 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-19 10:55:55 +0100 |
commit | 09fedf23246bd7b622a362c57e34143cb7af32bd (patch) | |
tree | eb9c07e4801188a8513a2ff4ae13ba68c0b7e127 | |
parent | 75b8595548ee1796fd81e2b5a0a3bc99ee74265d (diff) | |
download | xine-lib-09fedf23246bd7b622a362c57e34143cb7af32bd.tar.gz xine-lib-09fedf23246bd7b622a362c57e34143cb7af32bd.tar.bz2 |
Mark Annodex signature and its size static and constant.
-rw-r--r-- | src/combined/xine_ogg_demuxer.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) != |