Mercurial > mplayer.hg
diff libmpcodecs/vd_ffmpeg.c @ 33010:fafbc46915db
Change MP_IMGFLAG_ACCEPT_STRIDE to MP_IMGFLAG_ACCEPT_ALIGNED_STRIDE as various
FFmpeg assembly routines assume aligned input.
author | zuxy |
---|---|
date | Wed, 23 Mar 2011 14:52:13 +0000 |
parents | 3544ba7244bf |
children | 55de45e1d943 |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Wed Mar 23 10:49:28 2011 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Wed Mar 23 14:52:13 2011 +0000 @@ -583,7 +583,7 @@ sh_video_t *sh = avctx->opaque; vd_ffmpeg_ctx *ctx = sh->context; mp_image_t *mpi=NULL; - int flags= MP_IMGFLAG_ACCEPT_STRIDE | MP_IMGFLAG_PREFER_ALIGNED_STRIDE; + int flags= MP_IMGFLAG_ACCEPT_ALIGNED_STRIDE | MP_IMGFLAG_PREFER_ALIGNED_STRIDE; int type= MP_IMGTYPE_IPB; int width= avctx->width; int height= avctx->height;