changeset 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 3138b52fdd10
children e9a733c1e2a1
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;