diff mbox series

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

Message ID AM7PR03MB6660A590D4E5B73C265EFD2B8F579@AM7PR03MB6660.eurprd03.prod.outlook.com
State Accepted
Commit b7a543707f2787bd97b8974c27341899b991d0ff
Headers show
Series [FFmpeg-devel] avformat/imfdec: Use proper logcontext | expand

Checks

Context Check Description
andriy/make_armv7_RPi4 success Make finished
andriy/make_fate_armv7_RPi4 success Make fate finished
andriy/make_aarch64_jetson success Make finished
andriy/make_fate_aarch64_jetson success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Andreas Rheinhardt Jan. 17, 2022, 2:07 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavformat/imfdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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;