[FFmpeg-cvslog] avformat/dvdvideodec: add explicit inttypes.h include

Marth64 git at videolan.org
Tue Mar 26 17:40:41 EET 2024


ffmpeg | branch: master | Marth64 <marth64 at proxyid.net> | Mon Mar 25 16:21:02 2024 -0500| [9df11820650b1d93f6a49519aaa51afb5cc17086] | committer: Leo Izen

avformat/dvdvideodec: add explicit inttypes.h include

Since log statements printing int64 were made portable in
4464b7eeb194e98ac115f18d2b6be67361407c8a, let us include
inttypes.h explicitly (as it is unclear where PRId64 and
such are coming from now).

Reported-by: Leo Izen <leo.izen at gmail.com>
Signed-off-by: Marth64 <marth64 at proxyid.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9df11820650b1d93f6a49519aaa51afb5cc17086
---

 libavformat/dvdvideodec.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/dvdvideodec.c b/libavformat/dvdvideodec.c
index 8acbe5a1a1..c94e7f7fe6 100644
--- a/libavformat/dvdvideodec.c
+++ b/libavformat/dvdvideodec.c
@@ -30,6 +30,8 @@
  * 7) Close the dvdnav VM, and free dvdread's IFO structures
  */
 
+#include <inttypes.h>
+
 #include <dvdnav/dvdnav.h>
 #include <dvdread/dvd_reader.h>
 #include <dvdread/ifo_read.h>



More information about the ffmpeg-cvslog mailing list