summaryrefslogtreecommitdiff
path: root/libavcodec/svq1.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-01-26 21:10:54 +0100
committerAnton Khirnov <anton@khirnov.net>2013-02-06 10:21:52 +0100
commit6ed9fc44badb256bdf235e700702bee46a9f6527 (patch)
tree8db8e0bbabb2022ab36238f1a8b199d025569d42 /libavcodec/svq1.h
parent99162f8d46db7ec02facae035c4ff573d2d8d612 (diff)
downloadffmpeg-6ed9fc44badb256bdf235e700702bee46a9f6527.tar.gz
svq1: replace struct svq1_frame_size with an array.
It is used as an array in svq1enc, so this is more correct.
Diffstat (limited to 'libavcodec/svq1.h')
-rw-r--r--libavcodec/svq1.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/libavcodec/svq1.h b/libavcodec/svq1.h
index b2055faa38..70b5c37be2 100644
--- a/libavcodec/svq1.h
+++ b/libavcodec/svq1.h
@@ -42,11 +42,6 @@
#define SVQ1_BLOCK_INTER_4V 2
#define SVQ1_BLOCK_INTRA 3
-struct svq1_frame_size {
- uint16_t width;
- uint16_t height;
-};
-
uint16_t ff_svq1_packet_checksum(const uint8_t *data,
const int length, int value);
@@ -59,6 +54,6 @@ extern const uint8_t ff_svq1_inter_multistage_vlc[6][8][2];
extern const uint16_t ff_svq1_intra_mean_vlc[256][2];
extern const uint16_t ff_svq1_inter_mean_vlc[512][2];
-extern const struct svq1_frame_size ff_svq1_frame_size_table[7];
+extern const uint16_t ff_svq1_frame_size_table[7][2];
#endif /* AVCODEC_SVQ1_H */