You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/omadec: Use 64bit for ret to avoid overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -474,7 +474,7 @@ static int oma_read_seek(struct AVFormatContext *s,
|
|||||||
int stream_index, int64_t timestamp, int flags)
|
int stream_index, int64_t timestamp, int flags)
|
||||||
{
|
{
|
||||||
OMAContext *oc = s->priv_data;
|
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)
|
if (!oc->encrypted)
|
||||||
return err;
|
return err;
|
||||||
|
Reference in New Issue
Block a user