Commit 3b563247 authored by Michael Niedermayer's avatar Michael Niedermayer

snow: fix 32x32 encoding

Fixes ticket1083
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9eb99ab2
......@@ -1712,6 +1712,10 @@ redo_frame:
else
s->spatial_decomposition_count= 5;
while( !(width >>(s->chroma_h_shift + s->spatial_decomposition_count))
|| !(height>>(s->chroma_v_shift + s->spatial_decomposition_count)))
s->spatial_decomposition_count--;
s->m.pict_type = pic->pict_type;
s->qbias = pic->pict_type == AV_PICTURE_TYPE_P ? 2 : 0;
......
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