summaryrefslogtreecommitdiff
path: root/libavcodec/avs.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/avs.c
parent47c0ac96aa3530aad9fbc5250a531589f251d4d7 (diff)
downloadffmpeg-324deaa26883efbdac3b82d4b06eee0285826a7f.tar.gz
Replace AVFrame pointer type punning by proper struct member assignments.
Diffstat (limited to 'libavcodec/avs.c')
-rw-r--r--libavcodec/avs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avs.c b/libavcodec/avs.c
index ce119ebd72..f4d8f69610 100644
--- a/libavcodec/avs.c
+++ b/libavcodec/avs.c
@@ -149,7 +149,7 @@ avs_decode_frame(AVCodecContext * avctx,
align_get_bits(&change_map);
}
- *picture = *(AVFrame *) & avs->picture;
+ *picture = avs->picture;
*data_size = sizeof(AVPicture);
return buf_size;