changeset 3008:281fc9f7f126

Comment out two functions correctly identified by GCC as unused.
author Tony Vroon <chainsaw@gentoo.org>
date Wed, 08 Apr 2009 22:46:53 +0100
parents 7a7060caef14
children 201bc2617f0d
files src/aac/mp4ff/mp4meta.c src/aac/mp4ff/mp4tagupdate.c
diffstat 2 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/aac/mp4ff/mp4meta.c	Wed Apr 08 22:38:23 2009 +0100
+++ b/src/aac/mp4ff/mp4meta.c	Wed Apr 08 22:46:53 2009 +0100
@@ -66,6 +66,7 @@
     }
 }
 
+/* GCC 4 says: unused!
 static int32_t mp4ff_tag_set_field(mp4ff_metadata_t *tags, const char *item, const char *value)
 {
     unsigned int i;
@@ -84,6 +85,7 @@
 
     return mp4ff_tag_add_field(tags, item, value);
 }
+*/
 
 int32_t mp4ff_tag_delete(mp4ff_metadata_t *tags)
 {
@@ -154,7 +156,7 @@
 	}
 }
 
-
+/* GCC4 says: unused!
 static int32_t TrackToString(char** str, const uint16_t track, const uint16_t totalTracks)
 {
 	char temp[32];
@@ -162,6 +164,7 @@
 	*str = strdup(temp);
     return 0;
 }
+*/
 
 static int32_t mp4ff_set_metadata_name(mp4ff_t *f, const uint8_t atom_type, char **name)
 {
@@ -458,4 +461,4 @@
     return mp4ff_meta_find_by_name(f, "cover", value);
 }
 
-#endif
\ No newline at end of file
+#endif
--- a/src/aac/mp4ff/mp4tagupdate.c	Wed Apr 08 22:38:23 2009 +0100
+++ b/src/aac/mp4ff/mp4tagupdate.c	Wed Apr 08 22:46:53 2009 +0100
@@ -20,6 +20,7 @@
     return (uint32_t)result;
 }
 
+/* GCC4 says: unused!
 static uint16_t fix_byte_order_16(uint16_t src)
 {
     uint16_t result;
@@ -33,7 +34,7 @@
     result = (a<<8) | b;
     return (uint16_t)result;
 }
-
+*/
 
 typedef struct
 {