mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-02 02:30:58 +00:00
avformat/rtmpptoto: add logging context to log
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
This commit is contained in:
parent
5db50dbf06
commit
35236fd729
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user