Revision 161e8cf4 libavcodec/vp3.c

View differences:

libavcodec/vp3.c
1406 1406
        int i = s->fragment_start[plane] + (y>>3)*(s->fragment_width>>!!plane);
1407 1407

  
1408 1408
        if (!s->flipped_image) stride = -stride;
1409
        if (CONFIG_GRAY && plane && (s->avctx->flags & CODEC_FLAG_GRAY))
1410
            continue;
1409 1411

  
1410 1412

  
1411 1413
        if(FFABS(stride) > 2048)
......
1424 1426
                }
1425 1427

  
1426 1428
                /* transform if this block was coded */
1427
                if ((s->all_fragments[i].coding_method != MODE_COPY) &&
1428
                    !((s->avctx->flags & CODEC_FLAG_GRAY) && plane)) {
1429
                if (s->all_fragments[i].coding_method != MODE_COPY) {
1429 1430

  
1430 1431
                    if ((s->all_fragments[i].coding_method == MODE_USING_GOLDEN) ||
1431 1432
                        (s->all_fragments[i].coding_method == MODE_GOLDEN_MV))

Also available in: Unified diff