aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rl.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-28 21:55:17 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-28 21:55:20 +0200
commitc508fef3c737321ad719db6ec62e1d011726baa8 (patch)
tree06869cea53d7018fb7dc6a8421cd74197eaaee01 /libavcodec/rl.h
parent75647622b530e8ec98ce364c9d6c38ca1b292e6d (diff)
parent324e50ee95929a9491b855c5e15451145bd5d1ec (diff)
downloadffmpeg-c508fef3c737321ad719db6ec62e1d011726baa8.tar.gz
Merge commit '324e50ee95929a9491b855c5e15451145bd5d1ec'
* commit '324e50ee95929a9491b855c5e15451145bd5d1ec': rl: Add a function for freeing dynamically allocated tables. Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/rl.h')
-rw-r--r--libavcodec/rl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/rl.h b/libavcodec/rl.h
index 086266e7f8..e4a6faa22c 100644
--- a/libavcodec/rl.h
+++ b/libavcodec/rl.h
@@ -55,6 +55,11 @@ typedef struct RLTable {
void ff_rl_init(RLTable *rl, uint8_t static_store[2][2*MAX_RUN + MAX_LEVEL + 3]);
void ff_rl_init_vlc(RLTable *rl, unsigned static_size);
+/**
+ * Free the contents of a dynamically allocated table.
+ */
+void ff_rl_free(RLTable *rl);
+
#define INIT_VLC_RL(rl, static_size)\
{\
int q;\