Commit 0f55bc29 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/omadec: Use 64bit for ret to avoid overflow

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent cb086871
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment