lavu/base64: return meaningful error code.

This commit is contained in:
Nicolas George 2013-01-01 16:04:15 +01:00
parent 6a9af92565
commit 305180f525
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ out2:
*dst++ = v >> 4;
out1:
out0:
return bits & 1 ? -1 : dst - out;
return bits & 1 ? AVERROR_INVALIDDATA : dst - out;
}
/*****************************************************************************