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)