comparison h263dec.c @ 1706:3ba5c493db6f libavcodec

motion vector vissualization improvements patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
author michael
date Tue, 30 Dec 2003 02:12:12 +0000
parents cdc3d4106fb6
children 07a484280a82
comparison
equal deleted inserted replaced
1705:954593137d37 1706:3ba5c493db6f
701 701
702 assert(s->current_picture.pict_type == s->current_picture_ptr->pict_type); 702 assert(s->current_picture.pict_type == s->current_picture_ptr->pict_type);
703 assert(s->current_picture.pict_type == s->pict_type); 703 assert(s->current_picture.pict_type == s->pict_type);
704 if(s->pict_type==B_TYPE || s->low_delay){ 704 if(s->pict_type==B_TYPE || s->low_delay){
705 *pict= *(AVFrame*)&s->current_picture; 705 *pict= *(AVFrame*)&s->current_picture;
706 ff_print_debug_info(s, s->current_picture_ptr); 706 ff_print_debug_info(s, pict);
707 } else { 707 } else {
708 *pict= *(AVFrame*)&s->last_picture; 708 *pict= *(AVFrame*)&s->last_picture;
709 ff_print_debug_info(s, s->last_picture_ptr); 709 ff_print_debug_info(s, pict);
710 } 710 }
711 711
712 /* Return the Picture timestamp as the frame number */ 712 /* Return the Picture timestamp as the frame number */
713 /* we substract 1 because it is added on utils.c */ 713 /* we substract 1 because it is added on utils.c */
714 avctx->frame_number = s->picture_number - 1; 714 avctx->frame_number = s->picture_number - 1;