diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-20 21:01:54 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-20 21:01:54 +0100 |
commit | 0f55bc29d41585d110b126cb4ed4b395fd46d7ac (patch) | |
tree | b235099c536b2ba8ced77ce7d6dec7e50febe1df /libavformat/omadec.c | |
parent | cb08687180683a755d0fe9d425280d0e4d1e6db2 (diff) | |
download | ffmpeg-0f55bc29d41585d110b126cb4ed4b395fd46d7ac.tar.gz |
avformat/omadec: Use 64bit for ret to avoid overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/omadec.c')
-rw-r--r-- | libavformat/omadec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/omadec.c b/libavformat/omadec.c index 2cb63ff604..858ee84f3f 100644 --- a/libavformat/omadec.c +++ b/libavformat/omadec.c @@ -474,7 +474,7 @@ static int oma_read_seek(struct AVFormatContext *s, int stream_index, int64_t timestamp, int flags) { OMAContext *oc = s->priv_data; - int err = ff_pcm_read_seek(s, stream_index, timestamp, flags); + int64_t err = ff_pcm_read_seek(s, stream_index, timestamp, flags); if (!oc->encrypted) return err; |