changeset 16325:739c473493d2

10l variables have to be declared before any command.
author attila
date Wed, 31 Aug 2005 09:24:44 +0000
parents 9d92b0998fea
children 88b9c7b0e773
files libmpcodecs/dec_video.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/dec_video.c	Wed Aug 31 08:40:26 2005 +0000
+++ b/libmpcodecs/dec_video.c	Wed Aug 31 09:24:44 2005 +0000
@@ -163,10 +163,10 @@
 }
 
 int init_video(sh_video_t *sh_video,char* codecname,char* vfm,int status){
+    int force = 0;
     unsigned int orig_fourcc=sh_video->bih?sh_video->bih->biCompression:0;
     sh_video->codec=NULL;
     sh_video->vf_inited=0;
-    int force = 0;
     if (codecname && codecname[0] == '+') {
       codecname = &codecname[1];
       force = 1;