path: root/src/file_ogg.c
diff options
authorChristophe Grenier <>2015-05-11 09:25:39 +0200
committerChristophe Grenier <>2015-05-11 09:25:39 +0200
commite1ca4010307fb53d83c5036f6c8269eb9066c928 (patch)
tree79a9547954c70be7ddc88324990d60a163ffb16d /src/file_ogg.c
parentf63304053aa32515e4853c2472fb785bcda0307c (diff)
remove always-true memcmp
Diffstat (limited to 'src/file_ogg.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_ogg.c b/src/file_ogg.c
index b629b71..e5b9488 100644
--- a/src/file_ogg.c
+++ b/src/file_ogg.c
@@ -46,10 +46,10 @@ const file_hint_t file_hint_ogg= {
/* header=OggS, version=0 */
static const unsigned char ogg_header[5]= {'O','g','g','S', 0x00};
-static const unsigned char sign_theora[7]= {0x80, 't', 'h', 'e', 'o', 'r', 'a'};
static int header_check_ogg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
+ static const unsigned char sign_theora[7]= {0x80, 't', 'h', 'e', 'o', 'r', 'a'};
/* */
/* Return if not Beginning Of Stream and already saving the file */
if((buffer[5]&0x02)!=0x02 &&