diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-20 21:01:54 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-14 14:27:22 +0100 |
commit | 2bb09b714ab6978d88de33eab601ef2b315f92b4 (patch) | |
tree | 6d012ecfc3cf8437d067834d281f7f921dca6413 | |
parent | c5c39132b4a3ef7f72dda8ea3d389eb3ba04860b (diff) | |
download | ffmpeg-2bb09b714ab6978d88de33eab601ef2b315f92b4.tar.gz |
avformat/omadec: Use 64bit for ret to avoid overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 0f55bc29d41585d110b126cb4ed4b395fd46d7ac)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-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 3ea2ec1468..afd483c4c3 100644 --- a/libavformat/omadec.c +++ b/libavformat/omadec.c @@ -462,7 +462,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; |