Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-02-28 01:08:41 +0400
committerDiego Biurrun <diego@biurrun.de>2012-03-02 02:11:13 +0400
commit324deaa26883efbdac3b82d4b06eee0285826a7f (patch)
treefc9531cb91ac14c2135050c7020d0f03d2fcafa2 /libavcodec/asv1.c
parent47c0ac96aa3530aad9fbc5250a531589f251d4d7 (diff)
Replace AVFrame pointer type punning by proper struct member assignments.
Diffstat (limited to 'libavcodec/asv1.c')
-rw-r--r--libavcodec/asv1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/asv1.c b/libavcodec/asv1.c
index 94073c087e..8dfe276f93 100644
--- a/libavcodec/asv1.c
+++ b/libavcodec/asv1.c
@@ -454,7 +454,7 @@ static int decode_frame(AVCodecContext *avctx,
}
}
- *picture= *(AVFrame*)&a->picture;
+ *picture = a->picture;
*data_size = sizeof(AVPicture);
emms_c();