[FFmpeg-cvslog] r21782 - trunk/libavcodec/utils.c

conrad subversion
Fri Feb 12 23:01:42 CET 2010


Author: conrad
Date: Fri Feb 12 23:01:42 2010
New Revision: 21782

Log:
Special case VP5/6 chroma alignment on x86 as well

Modified:
   trunk/libavcodec/utils.c

Modified: trunk/libavcodec/utils.c
==============================================================================
--- trunk/libavcodec/utils.c	Fri Feb 12 23:01:38 2010	(r21781)
+++ trunk/libavcodec/utils.c	Fri Feb 12 23:01:42 2010	(r21782)
@@ -265,7 +265,9 @@ int avcodec_default_get_buffer(AVCodecCo
 //picture size unneccessarily in some cases. The solution here is not
 //pretty and better ideas are welcome!
 #if HAVE_MMX
-                if(s->codec_id == CODEC_ID_SVQ1)
+                if(s->codec_id == CODEC_ID_SVQ1 || s->codec_id == CODEC_ID_VP5 ||
+                   s->codec_id == CODEC_ID_VP6 || s->codec_id == CODEC_ID_VP6F ||
+                   s->codec_id == CODEC_ID_VP6A)
                     stride_align[i]= 16;
                 else
 #endif



More information about the ffmpeg-cvslog mailing list