mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-29 06:20:29 +00:00
rmdec: Check return value of more avio_seek calls
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f9e083a156
commit
7e4111cfe2
@ -919,7 +919,9 @@ static int64_t rm_read_dts(AVFormatContext *s, int stream_index,
|
||||
if(rm->old_format)
|
||||
return AV_NOPTS_VALUE;
|
||||
|
||||
avio_seek(s->pb, pos, SEEK_SET);
|
||||
if (avio_seek(s->pb, pos, SEEK_SET) < 0)
|
||||
return AV_NOPTS_VALUE;
|
||||
|
||||
rm->remaining_len=0;
|
||||
for(;;){
|
||||
int seq=1;
|
||||
|
Loading…
Reference in New Issue
Block a user