summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <[email protected]>2015-02-20 21:01:54 +0100
committerMichael Niedermayer <[email protected]>2015-03-14 14:27:22 +0100
commit2bb09b714ab6978d88de33eab601ef2b315f92b4 (patch)
tree6d012ecfc3cf8437d067834d281f7f921dca6413
parentc5c39132b4a3ef7f72dda8ea3d389eb3ba04860b (diff)
avformat/omadec: Use 64bit for ret to avoid overflow
Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 0f55bc29d41585d110b126cb4ed4b395fd46d7ac) Signed-off-by: Michael Niedermayer <[email protected]>
-rw-r--r--libavformat/omadec.c2
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;