[MPlayer-cvslog] r33097 - trunk/libmpcodecs/vd_ffmpeg.c
zuxy
subversion at mplayerhq.hu
Wed Mar 23 15:52:13 CET 2011
Author: zuxy
Date: Wed Mar 23 15:52:13 2011
New Revision: 33097
Log:
Change MP_IMGFLAG_ACCEPT_STRIDE to MP_IMGFLAG_ACCEPT_ALIGNED_STRIDE as various
FFmpeg assembly routines assume aligned input.
Modified:
trunk/libmpcodecs/vd_ffmpeg.c
Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c Wed Mar 23 11:49:28 2011 (r33096)
+++ trunk/libmpcodecs/vd_ffmpeg.c Wed Mar 23 15:52:13 2011 (r33097)
@@ -583,7 +583,7 @@ static int get_buffer(AVCodecContext *av
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;
More information about the MPlayer-cvslog
mailing list