summaryrefslogtreecommitdiff
path: root/libavcodec/svq1dec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-02-27 22:08:41 +0100
committerDiego Biurrun <diego@biurrun.de>2012-03-01 23:11:13 +0100
commit324deaa26883efbdac3b82d4b06eee0285826a7f (patch)
treefc9531cb91ac14c2135050c7020d0f03d2fcafa2 /libavcodec/svq1dec.c
parent47c0ac96aa3530aad9fbc5250a531589f251d4d7 (diff)
Replace AVFrame pointer type punning by proper struct member assignments.
Diffstat (limited to 'libavcodec/svq1dec.c')
-rw-r--r--libavcodec/svq1dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c
index 80f96c8cc6..a831459611 100644
--- a/libavcodec/svq1dec.c
+++ b/libavcodec/svq1dec.c
@@ -735,7 +735,7 @@ static int svq1_decode_frame(AVCodecContext *avctx,
}
}
- *pict = *(AVFrame*)&s->current_picture;
+ *pict = s->current_picture.f;
ff_MPV_frame_end(s);