[FFmpeg-cvslog] avformat/asfdec: do not define print_guid() to nothing
Michael Niedermayer
git at videolan.org
Thu May 7 01:06:26 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu May 7 00:54:06 2015 +0200| [374cf93548d171de72f3cf8939a061c9ee150aff] | committer: Michael Niedermayer
avformat/asfdec: do not define print_guid() to nothing
This avoid potential warnings
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=374cf93548d171de72f3cf8939a061c9ee150aff
---
libavformat/asfdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index 270d092..359ee8b 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -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)
More information about the ffmpeg-cvslog
mailing list