[FFmpeg-cvslog] avformat/cdg: Don't store avio_size() return value in int

Andreas Rheinhardt git at videolan.org
Tue Mar 26 07:44:34 EET 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sat Mar 16 00:20:47 2024 +0100| [29aa499fc965ebd539ec5076a2b9293edc07acf8] | committer: Andreas Rheinhardt

avformat/cdg: Don't store avio_size() return value in int

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

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

 libavformat/cdg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/cdg.c b/libavformat/cdg.c
index 2030cdff89..43d919e302 100644
--- a/libavformat/cdg.c
+++ b/libavformat/cdg.c
@@ -46,7 +46,7 @@ static int read_probe(const AVProbeData *p)
 static int read_header(AVFormatContext *s)
 {
     AVStream *vst;
-    int ret;
+    int64_t ret;
 
     vst = avformat_new_stream(s, NULL);
     if (!vst)



More information about the ffmpeg-cvslog mailing list