Revision f8830383 libavcodec/vp3.c

View differences:

libavcodec/vp3.c
2406 2406
            }
2407 2407

  
2408 2408
            /* transform if this block was coded */
2409
            if (s->all_fragments[i].coding_method != MODE_COPY) {
2409
            if ((s->all_fragments[i].coding_method != MODE_COPY) &&
2410
		!((s->avctx->flags & CODEC_FLAG_GRAY) && plane)) {
2410 2411

  
2411 2412
                if ((s->all_fragments[i].coding_method == MODE_USING_GOLDEN) ||
2412 2413
                    (s->all_fragments[i].coding_method == MODE_GOLDEN_MV))
......
2792 2793
    if (s->theora >= 0x030300)
2793 2794
        skip_bits1(&gb);
2794 2795

  
2795
    debug_vp3(" VP3 %sframe #%d: Q index = %d\n",
2796
	s->keyframe?"key":"", counter, s->quality_index);
2796
    if (s->avctx->debug & FF_DEBUG_PICT_INFO)
2797
	av_log(s->avctx, AV_LOG_INFO, " VP3 %sframe #%d: Q index = %d\n",
2798
	    s->keyframe?"key":"", counter, s->quality_index);
2797 2799
    counter++;
2798 2800

  
2799 2801
    if (s->quality_index != s->last_quality_index)

Also available in: Unified diff