Simplify loop condition

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30407 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2010-01-23 18:28:47 +00:00
parent a30dbabd9f
commit f1714582b2
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ static unsigned int find_best_out(vf_instance_t *vf){
int i;
// find the best outfmt:
for(i=0; i<sizeof(outfmt_list)/sizeof(int)-1; i++){
for(i=0; outfmt_list[i]; i++){
const int format= outfmt_list[i];
int ret= vf->priv->query_format_cache[i]-1;
if(ret == -1){