Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-05-22 21:50:14 +0300
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-05-28 17:38:43 +0300
commit1b1bb2c4efc126d74d44d8c421860c85f932ecb1 (patch)
treef0cd5a786852326a75ab665fbc7f73b5490111a1 /libavcodec/rl.h
parent324e50ee95929a9491b855c5e15451145bd5d1ec (diff)
rl: Add error checking to ff_rl_init().
Diffstat (limited to 'libavcodec/rl.h')
-rw-r--r--libavcodec/rl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rl.h b/libavcodec/rl.h
index 8244968898..fe4efef972 100644
--- a/libavcodec/rl.h
+++ b/libavcodec/rl.h
@@ -53,7 +53,7 @@ typedef struct RLTable {
* @param static_store static uint8_t array[2][2*MAX_RUN + MAX_LEVEL + 3] which will hold
* the level and run tables, if this is NULL av_malloc() will be used
*/
-void ff_rl_init(RLTable *rl, uint8_t static_store[2][2*MAX_RUN + MAX_LEVEL + 3]);
+int ff_rl_init(RLTable *rl, uint8_t static_store[2][2*MAX_RUN + MAX_LEVEL + 3]);
void ff_rl_init_vlc(RLTable *rl);
/**