From 324deaa26883efbdac3b82d4b06eee0285826a7f Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 27 Feb 2012 22:08:41 +0100 Subject: Replace AVFrame pointer type punning by proper struct member assignments. --- libavcodec/indeo2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/indeo2.c') diff --git a/libavcodec/indeo2.c b/libavcodec/indeo2.c index b114573ff0..6761c59eed 100644 --- a/libavcodec/indeo2.c +++ b/libavcodec/indeo2.c @@ -191,7 +191,7 @@ static int ir2_decode_frame(AVCodecContext *avctx, s->picture.data[1], s->picture.linesize[1], ir2_luma_table); } - *picture= *(AVFrame*)&s->picture; + *picture = s->picture; *data_size = sizeof(AVPicture); return buf_size; -- cgit v1.2.3