[vlc-commits] misc/image: narrow scope of iteration variable
Filip Roséen
git at videolan.org
Mon Oct 10 18:43:44 CEST 2016
vlc | branch: master | Filip Roséen <filip at atch.se> | Mon Oct 10 18:17:59 2016 +0200| [22213432355d5a2526759c2caa35b64926d8d2b6] | committer: Thomas Guillem
misc/image: narrow scope of iteration variable
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=22213432355d5a2526759c2caa35b64926d8d2b6
---
src/misc/image.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/misc/image.c b/src/misc/image.c
index 05dc137..b223edd 100644
--- a/src/misc/image.c
+++ b/src/misc/image.c
@@ -593,8 +593,7 @@ static const struct
vlc_fourcc_t image_Mime2Fourcc( const char *psz_mime )
{
- int i;
- for( i = 0; mime_table[i].i_codec; i++ )
+ for( int i = 0; mime_table[i].i_codec; i++ )
if( !strcmp( psz_mime, mime_table[i].psz_mime ) )
return mime_table[i].i_codec;
return 0;
More information about the vlc-commits
mailing list