mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-11 06:58:18 +00:00
r3d: Fix pos type
avio_tell can return a negative number. Bug-Id: CID 1265715 CC: libav-stable@libav.org
This commit is contained in:
parent
ec524ed12a
commit
898276c16b
@ -219,7 +219,7 @@ static int r3d_read_redv(AVFormatContext *s, AVPacket *pkt, Atom *atom)
|
|||||||
AVStream *st = s->streams[0];
|
AVStream *st = s->streams[0];
|
||||||
int tmp;
|
int tmp;
|
||||||
int av_unused tmp2;
|
int av_unused tmp2;
|
||||||
uint64_t pos = avio_tell(s->pb);
|
int64_t pos = avio_tell(s->pb);
|
||||||
unsigned dts;
|
unsigned dts;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
@ -274,7 +274,7 @@ static int r3d_read_reda(AVFormatContext *s, AVPacket *pkt, Atom *atom)
|
|||||||
AVStream *st = s->streams[1];
|
AVStream *st = s->streams[1];
|
||||||
int av_unused tmp, tmp2;
|
int av_unused tmp, tmp2;
|
||||||
int samples, size;
|
int samples, size;
|
||||||
uint64_t pos = avio_tell(s->pb);
|
int64_t pos = avio_tell(s->pb);
|
||||||
unsigned dts;
|
unsigned dts;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user