avformat/id3v2: Use proper logcontext

Otherwise one could not associate log messages with inputs.

Reviewed-by: Romain Beauxis <toots@rastageeks.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2026-05-11 16:54:27 +02:00
parent e626b02a01
commit 356e427d5c

View File

@@ -1067,7 +1067,7 @@ static void id3v2_parse(AVIOContext *pb, AVDictionary **metadata,
buf[i] = '.';
buf[n + 1] = '|';
buf[n + 2] = '\0';
av_log(NULL, AV_LOG_INFO, "ID3v2 frame %.4s (%d bytes):%s\n",
av_log(s, AV_LOG_INFO, "ID3v2 frame %.4s (%d bytes):%s\n",
tag, tlen, buf);
}
av_free(buf);