aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-20 21:01:54 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-20 21:14:32 +0100
commit94ebfef2fb69f9bc66dc17e533c5d25d68a37924 (patch)
treefcdca0df930ae9a30031ce9cb11c112f4af86a59 /libavformat
parentf8b6ba5574c73c87ebf4be178a319e2e2d278749 (diff)
downloadffmpeg-94ebfef2fb69f9bc66dc17e533c5d25d68a37924.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>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/omadec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/omadec.c b/libavformat/omadec.c
index b10f56f07b..f5d09f65ae 100644
--- a/libavformat/omadec.c
+++ b/libavformat/omadec.c
@@ -470,7 +470,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;