[FFmpeg-devel] [PATCH] avformat/imfdec: Use proper logcontext
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Mon Jan 17 16:07:36 EET 2022
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
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;
--
2.32.0
More information about the ffmpeg-devel
mailing list