all: Replace __FUNCTION__ by __func__
Only the latter is valid ISO C. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -1120,7 +1120,7 @@ static int write_packet_common(AVFormatContext *s, AVStream *st, AVPacket *pkt,
|
||||
int ret;
|
||||
|
||||
if (s->debug & FF_FDEBUG_TS)
|
||||
av_log(s, AV_LOG_DEBUG, "%s size:%d dts:%s pts:%s\n", __FUNCTION__,
|
||||
av_log(s, AV_LOG_DEBUG, "%s size:%d dts:%s pts:%s\n", __func__,
|
||||
pkt->size, av_ts2str(pkt->dts), av_ts2str(pkt->pts));
|
||||
|
||||
guess_pkt_duration(s, st, pkt);
|
||||
|
||||
Reference in New Issue
Block a user