aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs
diff options
context:
space:
mode:
authorGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-05 17:42:09 +0000
committerGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-05 17:42:09 +0000
commit816258171c2096545c5483175dcaca37c8812afc (patch)
tree4da82135b647ec5a3c928f0e14db9fbba05f1a79 /libmpcodecs
parent920a8107e2359d9063de4538d682330cb3d35662 (diff)
blit_frame is useless - noticed by Nick K.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5985 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/dec_video.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libmpcodecs/dec_video.c b/libmpcodecs/dec_video.c
index 0d9e3a1c30..5978b0b50c 100644
--- a/libmpcodecs/dec_video.c
+++ b/libmpcodecs/dec_video.c
@@ -174,7 +174,6 @@ extern int vo_directrendering;
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 @@ vf->control(vf,VFCTRL_DRAW_OSD,NULL);
t2=GetTimer()-t2;
tt=t2*0.000001f;
vout_time_usage+=tt;
- blit_frame=1;
- return blit_frame;
+ return 1;
}