diff libmpcodecs/vd_ffmpeg.c @ 6875:255b150a75a5

- some reorder/cleanup of mp_image flags - support for _ACCEPT_ALIGNED_STRIDE && _PREFER_ALIGNED_STRIDE
author arpi
date Fri, 02 Aug 2002 22:55:54 +0000
parents 1206fa765697
children cd630017eb83
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Fri Aug 02 19:39:37 2002 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Fri Aug 02 22:55:54 2002 +0000
@@ -302,8 +302,7 @@
     sh_video_t * sh = avctx->opaque;
     vd_ffmpeg_ctx *ctx = sh->context;
     mp_image_t* mpi=NULL;
-//    int flags= MP_IMGFLAG_ALIGNED_STRIDE;
-    int flags= MP_IMGFLAG_ACCEPT_STRIDE;
+    int flags= MP_IMGFLAG_ACCEPT_STRIDE | MP_IMGFLAG_PREFER_ALIGNED_STRIDE;
     int type= MP_IMGTYPE_IPB;
     int align=15;