summaryrefslogtreecommitdiff
path: root/libavcodec/dv_tablegen.h
diff options
context:
space:
mode:
authorDiego Pettenò <flameeyes@gmail.com>2010-06-27 12:20:39 +0000
committerDiego Pettenò <flameeyes@gmail.com>2010-06-27 12:20:39 +0000
commitac014798ff719c69a895aff0189a794ed9046554 (patch)
treef53db1d845bbecfa50224c0c5ed2e1c53403b21f /libavcodec/dv_tablegen.h
parent07ece20c696edad327b2e3fefd14f52279f60035 (diff)
tableprint: use the type name as-is for the functions' names.
This drops one parameter from the functions' macros, and require structures to be typedeffed, but ensures that it is possible to map 1-to-1 the type to the function name. Originally committed as revision 23820 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dv_tablegen.h')
-rw-r--r--libavcodec/dv_tablegen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dv_tablegen.h b/libavcodec/dv_tablegen.h
index ee6e8220af..47e8c362c1 100644
--- a/libavcodec/dv_tablegen.h
+++ b/libavcodec/dv_tablegen.h
@@ -35,10 +35,10 @@
#endif
/* VLC encoding lookup table */
-struct dv_vlc_pair {
+typedef struct dv_vlc_pair {
uint32_t vlc;
uint32_t size;
-};
+} dv_vlc_pair;
#if CONFIG_HARDCODED_TABLES
#define dv_vlc_map_tableinit()