Revision 8fc69895 libavcodec/h263dec.c

View differences:

libavcodec/h263dec.c
675 675

  
676 676
}
677 677
#endif
678

  
678 679
    if(s->pict_type==B_TYPE || s->low_delay){
679 680
        *pict= *(AVFrame*)&s->current_picture;
680 681
    } else {
681 682
        *pict= *(AVFrame*)&s->last_picture;
682 683
    }
683 684

  
685
    if(avctx->debug&FF_DEBUG_QP){
686
        int8_t *qtab= pict->qscale_table;
687
        int x,y;
688
        
689
        for(y=0; y<s->mb_height; y++){
690
            for(x=0; x<s->mb_width; x++){
691
                printf("%2d ", qtab[x + y*s->mb_width]);
692
            }
693
            printf("\n");
694
        }
695
        printf("\n");
696
    }
697

  
684 698
    /* Return the Picture timestamp as the frame number */
685 699
    /* we substract 1 because it is added on utils.c    */
686 700
    avctx->frame_number = s->picture_number - 1;

Also available in: Unified diff