summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/dec_video.c
diff options
context:
space:
mode:
authorattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-31 09:24:44 +0000
committerattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-31 09:24:44 +0000
commitc5afd2f87fafde3a66885fa5d0a2ee1def221c73 (patch)
treebf9e14103c2576d03b7d2361761efed4a973a84f /libmpcodecs/dec_video.c
parente8b7fc12c023002ae13874cafbad6767dd02fc74 (diff)
downloadmpv-c5afd2f87fafde3a66885fa5d0a2ee1def221c73.tar.bz2
mpv-c5afd2f87fafde3a66885fa5d0a2ee1def221c73.tar.xz
10l
variables have to be declared before any command. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16326 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/dec_video.c')
-rw-r--r--libmpcodecs/dec_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/dec_video.c b/libmpcodecs/dec_video.c
index b25b1c7a8b..be95b8560c 100644
--- a/libmpcodecs/dec_video.c
+++ b/libmpcodecs/dec_video.c
@@ -163,10 +163,10 @@ void vfm_help(){
}
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;