[FFmpeg-devel] [PATCH]lavf/sga: Fix several format specifiers

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Mar 4 23:47:57 EET 2021


Am Do., 4. März 2021 um 22:23 Uhr schrieb Moritz Barsnick <barsnick at gmx.net>:
>
> On Thu, Mar 04, 2021 at 20:37:26 +0100, Carl Eugen Hoyos wrote:
> > attached patch fixes a few warnings when compiling for 32bit.
>
> >      av_log(s, AV_LOG_DEBUG, "START %s\n", where);
> > -    av_log(s, AV_LOG_DEBUG, "pos: %lX\n", avio_tell(s->pb));
> > +    av_log(s, AV_LOG_DEBUG, "pos: %"PRIX64"\n", avio_tell(s->pb));
>
> #include <inttypes.h>

It is included through common.h - do we add it to every C file
that would need it if common.h were not included?

Carl Eugen


More information about the ffmpeg-devel mailing list