# HG changeset patch # User arpi # Date 1020620529 0 # Node ID fc19842f703a2d4d733a1f8657e5ea43cd08f3c6 # Parent 4d868c3c9fff11759d77a4f6d4996cf5c8e83981 blit_frame is useless - noticed by Nick K. diff -r 4d868c3c9fff -r fc19842f703a libmpcodecs/dec_video.c --- a/libmpcodecs/dec_video.c Sun May 05 17:22:38 2002 +0000 +++ b/libmpcodecs/dec_video.c Sun May 05 17:42:09 2002 +0000 @@ -174,7 +174,6 @@ int decode_video(sh_video_t *sh_video,unsigned char *start,int in_size,int drop_frame){ vf_instance_t* vf=sh_video->vfilter; mp_image_t *mpi=NULL; -int blit_frame=0; unsigned int t=GetTimer(); unsigned int t2; double tt; @@ -208,7 +207,6 @@ t2=GetTimer()-t2; tt=t2*0.000001f; vout_time_usage+=tt; - blit_frame=1; - return blit_frame; + return 1; }