Commit faa49205 authored by conrad's avatar conrad

Special case VP5/6 chroma alignment on x86 as well

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21782 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9b900c77
...@@ -265,7 +265,9 @@ int avcodec_default_get_buffer(AVCodecContext *s, AVFrame *pic){ ...@@ -265,7 +265,9 @@ int avcodec_default_get_buffer(AVCodecContext *s, AVFrame *pic){
//picture size unneccessarily in some cases. The solution here is not //picture size unneccessarily in some cases. The solution here is not
//pretty and better ideas are welcome! //pretty and better ideas are welcome!
#if HAVE_MMX #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; stride_align[i]= 16;
else else
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment