Replace AVFrame pointer type punning by proper struct member assignments.

This commit is contained in:
Diego Biurrun
2012-02-27 22:08:41 +01:00
parent 47c0ac96aa
commit 324deaa268
18 changed files with 38 additions and 50 deletions

View File

@@ -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);