[MPlayer-cvslog] r30407 - trunk/libmpcodecs/vf_scale.c
reimar
subversion at mplayerhq.hu
Sat Jan 23 19:28:47 CET 2010
Author: reimar
Date: Sat Jan 23 19:28:47 2010
New Revision: 30407
Log:
Simplify loop condition
Modified:
trunk/libmpcodecs/vf_scale.c
Modified: trunk/libmpcodecs/vf_scale.c
==============================================================================
--- trunk/libmpcodecs/vf_scale.c Sat Jan 23 16:41:58 2010 (r30406)
+++ trunk/libmpcodecs/vf_scale.c Sat Jan 23 19:28:47 2010 (r30407)
@@ -100,7 +100,7 @@ static unsigned int find_best_out(vf_ins
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){
More information about the MPlayer-cvslog
mailing list