Forwards the error code, avoids potential integer overflow Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 10bbf6cf62) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10bbf6cf62