[FFmpeg-cvslog] avformat/rtmpptoto: add logging context to log
Steven Liu
git at videolan.org
Tue Oct 8 08:48:11 EEST 2019
ffmpeg | branch: master | Steven Liu <lq at chinaffmpeg.org> | Mon Sep 30 14:36:52 2019 +0800| [35236fd729a37d69a79c708e06139d6aa54da123] | committer: Steven Liu
avformat/rtmpptoto: add logging context to log
Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=35236fd729a37d69a79c708e06139d6aa54da123
---
libavformat/rtmpproto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index b741e421af..eb08d4d424 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -2386,7 +2386,7 @@ static int handle_metadata(RTMPContext *rt, RTMPPacket *pkt)
next += size + 3 + 4;
}
if (p != rt->flv_data + rt->flv_size) {
- av_log(NULL, AV_LOG_WARNING, "Incomplete flv packets in "
+ av_log(rt, AV_LOG_WARNING, "Incomplete flv packets in "
"RTMP_PT_METADATA packet\n");
rt->flv_size = p - rt->flv_data;
}
More information about the ffmpeg-cvslog
mailing list