diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2008-10-21 21:40:24 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2008-10-21 21:40:24 +0000 |
commit | 37d3e0667abd01124d783f3ca10a4aef05746a2a (patch) | |
tree | 284c171f9546a8f4dc4c12878ecb1c8333f63a76 /libavcodec/imgresample.c | |
parent | 03092e14089e086065bf05671260347ad94a6262 (diff) | |
download | ffmpeg-streaming-37d3e0667abd01124d783f3ca10a4aef05746a2a.zip ffmpeg-streaming-37d3e0667abd01124d783f3ca10a4aef05746a2a.tar.gz |
uses FF_ARRAY_ELEMS() where appropriate
Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/imgresample.c')
-rw-r--r-- | libavcodec/imgresample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/imgresample.c b/libavcodec/imgresample.c index af94575..fa44248 100644 --- a/libavcodec/imgresample.c +++ b/libavcodec/imgresample.c @@ -790,7 +790,7 @@ int main(int argc, char **argv) } } save_pgm("/tmp/in.pgm", img, XSIZE, YSIZE); - for(i=0;i<sizeof(factors)/sizeof(float);i++) { + for(i=0;i<FF_ARRAY_ELEMS(factors);i++) { fact = factors[i]; xsize = (int)(XSIZE * fact); ysize = (int)((YSIZE - 100) * fact); |