diff options
author | David Conrad <lessen42@gmail.com> | 2010-02-12 22:01:42 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2010-02-12 22:01:42 +0000 |
commit | b7098cc153468a7b48f1c8b134189c43f25ac639 (patch) | |
tree | 385315926000b70fb94fb5d6c01af8b3ebbe272a | |
parent | 735acf567c3699933d03b27179fecd8f2b917ccd (diff) | |
download | ffmpeg-b7098cc153468a7b48f1c8b134189c43f25ac639.tar.gz |
Special case VP5/6 chroma alignment on x86 as well
Originally committed as revision 21782 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/utils.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 0e7dad7e45..0b0c562deb 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -265,7 +265,9 @@ int avcodec_default_get_buffer(AVCodecContext *s, AVFrame *pic){ //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 |