diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-01-09 18:33:21 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-01-09 18:33:21 +0000 |
commit | c46eeae2a80dfe0046c15b542e8b9a2c78f19bf7 (patch) | |
tree | 8c0378f0ae122dd5fcd3b101f7b55d0d233188f2 /libavcodec/svq1.c | |
parent | aa11ce6568a190b7c843c57bcbc8f5e1785af99b (diff) | |
download | ffmpeg-c46eeae2a80dfe0046c15b542e8b9a2c78f19bf7.tar.gz |
Add a function to match a 2 element vector of uint16_t and use it in h263 and svq1
instead of custom and bloated code to find an index into a w/h array.
Originally committed as revision 21113 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/svq1.c')
-rw-r--r-- | libavcodec/svq1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/svq1.c b/libavcodec/svq1.c index 580b1113f8..cae76104e5 100644 --- a/libavcodec/svq1.c +++ b/libavcodec/svq1.c @@ -37,7 +37,7 @@ #include "svq1_vlc.h" /* standard video sizes */ -const struct svq1_frame_size ff_svq1_frame_size_table[8] = { +const struct svq1_frame_size ff_svq1_frame_size_table[7] = { { 160, 120 }, { 128, 96 }, { 176, 144 }, { 352, 288 }, - { 704, 576 }, { 240, 180 }, { 320, 240 }, { -1, -1 } + { 704, 576 }, { 240, 180 }, { 320, 240 } }; |