Replace AVFrame pointer type punning by proper struct member assignments.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user