avidec: use sensible error codes instead of -1
Use AVERROR_INVALIDDATA on invalid inputs, and AVERROR_EOF when no more frames are available in an interleaved AVI. Signed-off-by: NJindrich Makovicka <makovick@gmail.com> Signed-off-by: NDiego Biurrun <diego@biurrun.de>
Showing
想要评论请 注册 或 登录