mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
avidec: Return correct error code from avi_sync() in case of IO error.
Found-by: Tanami, Ohad Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7d7e3023d9
commit
742d218bf1
@ -1001,6 +1001,8 @@ start_sync:
|
||||
}
|
||||
}
|
||||
|
||||
if(pb->error)
|
||||
return pb->error;
|
||||
return AVERROR_EOF;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user