summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/lzo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libffmpeg/libavcodec/lzo.c')
-rw-r--r--src/libffmpeg/libavcodec/lzo.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/libffmpeg/libavcodec/lzo.c b/src/libffmpeg/libavcodec/lzo.c
index d9b42f848..015c80d0d 100644
--- a/src/libffmpeg/libavcodec/lzo.c
+++ b/src/libffmpeg/libavcodec/lzo.c
@@ -2,18 +2,20 @@
* LZO 1x decompression
* Copyright (c) 2006 Reimar Doeffinger
*
- * This library is free software; you can redistribute it and/or
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
+ * version 2.1 of the License, or (at your option) any later version.
*
- * This library is distributed in the hope that it will be useful,
+ * FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
+ * License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "common.h"
@@ -164,9 +166,9 @@ int lzo1x_decode(void *out, int *outlen, void *in, int *inlen) {
int x;
LZOContext c;
c.in = in;
- c.in_end = in + *inlen;
+ c.in_end = (uint8_t *)in + *inlen;
c.out = c.out_start = out;
- c.out_end = out + * outlen;
+ c.out_end = (uint8_t *)out + * outlen;
c.error = 0;
x = get_byte(&c);
if (x > 17) {