changeset 5984:fc19842f703a

blit_frame is useless - noticed by Nick K.
author arpi
date Sun, 05 May 2002 17:42:09 +0000
parents 4d868c3c9fff
children cb393303865d
files libmpcodecs/dec_video.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }