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;