1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

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;
}
/*****************************************************************************