mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
lavu/base64: return meaningful error code.
This commit is contained in:
+1
-1
@@ -125,7 +125,7 @@ out2:
|
||||
*dst++ = v >> 4;
|
||||
out1:
|
||||
out0:
|
||||
return bits & 1 ? -1 : dst - out;
|
||||
return bits & 1 ? AVERROR_INVALIDDATA : dst - out;
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user