From 99fd05cbdd0460b3f0afc88532f1cf45815d18e2 Mon Sep 17 00:00:00 2001
From: Baptiste Coudurier <baptiste.coudurier@gmail.com>
Date: Wed, 18 Oct 2006 15:10:14 +0000
Subject: [PATCH] use AVFormatContext to log

Originally committed as revision 6731 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavformat/gxfenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/gxfenc.c b/libavformat/gxfenc.c
index 22937628e0a..033e6c633ed 100644
--- a/libavformat/gxfenc.c
+++ b/libavformat/gxfenc.c
@@ -645,7 +645,7 @@ static int gxf_write_header(AVFormatContext *s)
                 }
                 break;
             default:
-                av_log(NULL, AV_LOG_ERROR, "video codec not supported\n");
+                av_log(s, AV_LOG_ERROR, "video codec not supported\n");
                 return -1;
             }
         }
-- 
GitLab