# HG changeset patch # User reimar # Date 1255244726 0 # Node ID 3e26c8528a6b030fecbbd0a8dca4206828046eae # Parent d4d925400ba2e98021296a51ab1c15a0e5940c0f 100l in avpicture_layout: width of chroma planes depends on format depth, too. Fixes issue 1465 diff -r d4d925400ba2 -r 3e26c8528a6b imgconvert.c --- a/imgconvert.c Sun Oct 11 05:36:59 2009 +0000 +++ b/imgconvert.c Sun Oct 11 07:05:26 2009 +0000 @@ -897,7 +897,7 @@ for (i=0; i> pf->x_chroma_shift; + w = ((width >> pf->x_chroma_shift) * pf->depth + 7) / 8; h = height >> pf->y_chroma_shift; } else if (i == 3) { w = ow;