avformat/asfdec: do not define print_guid() to nothing
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 6 May 2015 22:54:06 +0000 (00:54 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 6 May 2015 22:54:06 +0000 (00:54 +0200)
This avoid potential warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/asfdec.c

index 270d092..359ee8b 100644 (file)
@@ -148,7 +148,7 @@ static void print_guid(ff_asf_guid *g)
 }
 #undef PRINT_IF_GUID
 #else
-#define print_guid(g)
+#define print_guid(g) while(0)
 #endif
 
 static int asf_probe(AVProbeData *pd)