summaryrefslogtreecommitdiffstats
path: root/libavcodec/kgv1dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-03 22:09:26 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-03 22:09:26 +0200
commit5918c5a4ccd7433956fc51a233126ac7da64aabc (patch)
tree9dc34e0a25181ab34a3e5a912223e07bbc6e944e /libavcodec/kgv1dec.c
parentbb605ef8ab60fa5f8d961bf14417bed575d9da1d (diff)
downloadffmpeg-streaming-5918c5a4ccd7433956fc51a233126ac7da64aabc.zip
ffmpeg-streaming-5918c5a4ccd7433956fc51a233126ac7da64aabc.tar.gz
avcodec/kgv1dec: add casts to silence "assignment from incompatible pointer type"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/kgv1dec.c')
-rw-r--r--libavcodec/kgv1dec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/kgv1dec.c b/libavcodec/kgv1dec.c
index edbc2b2..b81ba75 100644
--- a/libavcodec/kgv1dec.c
+++ b/libavcodec/kgv1dec.c
@@ -82,8 +82,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
if ((res = ff_get_buffer(avctx, frame, 0)) < 0)
return res;
- out = c->frame_buffer;
- prev = c->last_frame_buffer;
+ out = (uint8_t*)c->frame_buffer;
+ prev = (uint8_t*)c->last_frame_buffer;
for (i = 0; i < 8; i++)
offsets[i] = -1;
OpenPOWER on IntegriCloud