Browse Source

lavu/base64: return meaningful error code.

tags/n1.1
Nicolas George 13 years ago
parent
commit
305180f525
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/base64.c

+ 1
- 1
libavutil/base64.c View File

@@ -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