lavu/base64: return meaningful error code.
This commit is contained in:
parent
6a9af92565
commit
305180f525
@ -125,7 +125,7 @@ out2:
|
||||
*dst++ = v >> 4;
|
||||
out1:
|
||||
out0:
|
||||
return bits & 1 ? -1 : dst - out;
|
||||
return bits & 1 ? AVERROR_INVALIDDATA : dst - out;
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user