aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-17 14:52:10 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-19 16:50:46 +0100
commitb7a543707f2787bd97b8974c27341899b991d0ff (patch)
tree85b4764234436cf2d85ab00bd8a8a02d2ea02866
parente3c2a97a6d4e24d19f419325057ca2ab2fa37961 (diff)
downloadffmpeg-b7a543707f2787bd97b8974c27341899b991d0ff.tar.gz
avformat/imfdec: Use proper logcontext
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavformat/imfdec.c2
1 files changed, 1 insertions, 1 deletions
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;