[FFmpeg-devel] [PATCH 19/25] fftools/ffmpeg: report new streams from the input thread
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Thu Aug 4 11:25:50 EEST 2022
Nicolas George:
> Anton Khirnov (12022-08-04):
>> src/fftools/ffmpeg_demux.c:41:46: warning: passing argument 3 of ‘av_ts_make_time_string’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>> 41 | pkt->pos, av_ts2timestr(pkt->dts, &st->time_base));
>
> av_ts_make_time_string() should have const on its *tb argument. Good
> catch.
>
Or the timebase should be passed by value (as is commonly done elsewhere).
- Andreas
More information about the ffmpeg-devel
mailing list