[FFmpeg-cvslog] avformat/imfdec: Use proper logcontext

Andreas Rheinhardt git at videolan.org
Wed Jan 19 17:54:44 EET 2022


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Jan 17 14:52:10 2022 +0100| [b7a543707f2787bd97b8974c27341899b991d0ff] | committer: Andreas Rheinhardt

avformat/imfdec: Use proper logcontext

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b7a543707f2787bd97b8974c27341899b991d0ff
---

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

diff --git a/libavformat/imfdec.c b/libavformat/imfdec.c
index 566a0fb792..d67c9b8898 100644
--- a/libavformat/imfdec.c
+++ b/libavformat/imfdec.c
@@ -200,7 +200,7 @@ static int parse_imf_asset_map_from_xml_dom(AVFormatContext *s,
                            elem_count + asset_map->asset_count,
                            sizeof(IMFAssetLocator));
     if (!tmp) {
-        av_log(NULL, AV_LOG_ERROR, "Cannot allocate IMF asset locators\n");
+        av_log(s, AV_LOG_ERROR, "Cannot allocate IMF asset locators\n");
         return AVERROR(ENOMEM);
     }
     asset_map->assets = tmp;



More information about the ffmpeg-cvslog mailing list