Commit 742d218b authored by Michael Niedermayer's avatar Michael Niedermayer

avidec: Return correct error code from avi_sync() in case of IO error.

Found-by: Tanami, Ohad
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7d7e3023
......@@ -1001,6 +1001,8 @@ start_sync:
}
}
if(pb->error)
return pb->error;
return AVERROR_EOF;
}
......
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