[FFmpeg-devel] [PATCH v5 7/7] libavformat/asfdec: Add braces to define

Soft Works softworkz at hotmail.com
Thu Sep 30 05:59:03 EEST 2021


Signed-off-by: softworkz <softworkz at hotmail.com>
---
v5: Split into pieces as requested

 libavformat/asfdec_f.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/asfdec_f.c b/libavformat/asfdec_f.c
index c4bcf0904d..870d4bc7e6 100644
--- a/libavformat/asfdec_f.c
+++ b/libavformat/asfdec_f.c
@@ -149,7 +149,7 @@ static const ff_asf_guid asf_audio_conceal_none = {
 };
 
 #define PRINT_IF_GUID(g, cmp) \
-    if (!ff_guidcmp(g, &cmp)) \
+    if (!ff_guidcmp(g, &(cmp))) \
         av_log(NULL, AV_LOG_TRACE, "(GUID: %s) ", # cmp)
 
 static void print_guid(ff_asf_guid *g)
-- 
2.30.2.windows.1



More information about the ffmpeg-devel mailing list