diff options
author | Ben Jackson | 2012-09-15 10:32:39 -0700 |
---|---|---|
committer | Michael Niedermayer | 2012-09-15 20:26:22 +0200 |
commit | 23503cadd15929aeea4a4fc8dde8aad54ecf6846 (patch) | |
tree | 4fea5c248b017ea2a05c1e24b6039f1b5e365163 /libavcodec/vp56.h | |
parent | 47277c41531aa5e6dfcee946882bc35b8e846c6d (diff) |
lavc/vp56: Refactor ff_vp56_init into ff_vp56_init/ff_vp56_init_context
Pave the way for per-thread context initialization.
Signed-off-by: Ben Jackson <ben@ben.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vp56.h')
-rw-r--r-- | libavcodec/vp56.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/vp56.h b/libavcodec/vp56.h index d8f7ce654b..8256bee603 100644 --- a/libavcodec/vp56.h +++ b/libavcodec/vp56.h @@ -174,7 +174,10 @@ struct vp56_context { void ff_vp56_init(AVCodecContext *avctx, int flip, int has_alpha); +void ff_vp56_init_context(AVCodecContext *avctx, VP56Context *s, + int flip, int has_alpha); int ff_vp56_free(AVCodecContext *avctx); +int ff_vp56_free_context(VP56Context *s); void ff_vp56_init_dequant(VP56Context *s, int quantizer); int ff_vp56_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt); |