diff utils.c @ 11134:31bdf73a0330 libavcodec

Special case VP5/6 chroma alignment on x86 as well
author conrad
date Fri, 12 Feb 2010 22:01:42 +0000
parents bf309c7ce615
children a090d10c314f
line wrap: on
line diff
--- a/utils.c	Fri Feb 12 22:01:38 2010 +0000
+++ b/utils.c	Fri Feb 12 22:01:42 2010 +0000
@@ -265,7 +265,9 @@
 //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