summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/ra144.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libffmpeg/libavcodec/ra144.c')
-rw-r--r--src/libffmpeg/libavcodec/ra144.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libffmpeg/libavcodec/ra144.c b/src/libffmpeg/libavcodec/ra144.c
index fbc145af1..2d882f744 100644
--- a/src/libffmpeg/libavcodec/ra144.c
+++ b/src/libffmpeg/libavcodec/ra144.c
@@ -495,7 +495,7 @@ static int ra144_decode_frame(AVCodecContext * avctx,
temp=glob->swapbuf2alt;
glob->swapbuf2alt=glob->swapbuf2;
glob->swapbuf2=temp;
- *data_size=(char *)data-(char *)datao;
+ *data_size=data-datao;
return 20;
}