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 /libavformat/img2.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 'libavformat/img2.c')
-rw-r--r-- | libavformat/img2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/img2.c b/libavformat/img2.c index f15a6da..9706392 100644 --- a/libavformat/img2.c +++ b/libavformat/img2.c @@ -88,7 +88,7 @@ static int infer_size(int *width_ptr, int *height_ptr, int size) { int i; - for(i=0;i<sizeof(sizes)/sizeof(sizes[0]);i++) { + for(i=0;i<FF_ARRAY_ELEMS(sizes);i++) { if ((sizes[i][0] * sizes[i][1]) == size) { *width_ptr = sizes[i][0]; *height_ptr = sizes[i][1]; |