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

Andreas Rheinhardt git at videolan.org
Fri Apr 1 13:50:18 EEST 2022


ffmpeg | branch: release/5.0 | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Jan 17 14:52:10 2022 +0100| [2ae18635da88b4501a6e61ce4a7230d8d36a327c] | committer: Zane van Iperen

avformat/imfdec: Use proper logcontext

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
(cherry picked from commit b7a543707f2787bd97b8974c27341899b991d0ff)

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

 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