comparison libmpcodecs/vf_screenshot.c @ 36750:8a1186284090

Remove pointless "if".
author reimar
date Sun, 16 Feb 2014 14:01:20 +0000
parents 583523331410
children ca939d7e25be
comparison
equal deleted inserted replaced
36749:9393c7f716f3 36750:8a1186284090
122 } 122 }
123 123
124 static int fexists(char *fname) 124 static int fexists(char *fname)
125 { 125 {
126 struct stat dummy; 126 struct stat dummy;
127 if (stat(fname, &dummy) == 0) return 1; 127 return stat(fname, &dummy) == 0;
128 else return 0;
129 } 128 }
130 129
131 static void gen_fname(struct vf_priv_s* priv) 130 static void gen_fname(struct vf_priv_s* priv)
132 { 131 {
133 do { 132 do {