lavu/base64: return meaningful error code.

pull/8/head
Nicolas George 12 years ago
parent 6a9af92565
commit 305180f525
  1. 2
      libavutil/base64.c

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

Loading…
Cancel
Save