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
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to