summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-12-08 14:50:48 +0000
committerMans Rullgard <mans@mansr.com>2011-12-08 15:56:31 +0000
commitbbc10185eef0b5c1ad52bf19c666e42429d4b07e (patch)
tree568d0d42522c1ee042681a1ba1d1788206e4327f /libavcodec
parentbaf3b6e5947e3bfaa8778cfd16df4f2465854e2b (diff)
cljr: remove useless casts
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/cljr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/cljr.c b/libavcodec/cljr.c
index b418647ddb..60718075b5 100644
--- a/libavcodec/cljr.c
+++ b/libavcodec/cljr.c
@@ -37,7 +37,7 @@ static av_cold int common_init(AVCodecContext *avctx)
{
CLJRContext * const a = avctx->priv_data;
- avctx->coded_frame = (AVFrame*)&a->picture;
+ avctx->coded_frame = &a->picture;
a->avctx = avctx;
return 0;
@@ -53,7 +53,7 @@ static int decode_frame(AVCodecContext *avctx,
CLJRContext * const a = avctx->priv_data;
GetBitContext gb;
AVFrame *picture = data;
- AVFrame * const p= (AVFrame*)&a->picture;
+ AVFrame * const p = &a->picture;
int x, y;
if(p->data[0])
@@ -89,7 +89,7 @@ static int decode_frame(AVCodecContext *avctx,
}
}
- *picture= *(AVFrame*)&a->picture;
+ *picture = a->picture;
*data_size = sizeof(AVPicture);
emms_c();