diff options
author | Ben Jackson | 2012-09-15 10:32:41 -0700 |
---|---|---|
committer | Michael Niedermayer | 2012-09-15 20:26:35 +0200 |
commit | eebc11ebc8000aefc8562d17749ac2f9160fdfec (patch) | |
tree | e34abb45093093d688dd9e054ac6f72cd0602d54 /libavcodec/vp56.h | |
parent | 6e86d6af6bd914fb076d1263cbb240c888a1284e (diff) |
lavc/vp56: Move golden_frame into VP56Context
Makes golden_frame more like other frame data, paves way for threading
alpha channel decode.
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, 2 insertions, 1 deletions
diff --git a/libavcodec/vp56.h b/libavcodec/vp56.h index 8256bee603..7a32342aee 100644 --- a/libavcodec/vp56.h +++ b/libavcodec/vp56.h @@ -50,7 +50,7 @@ typedef void (*VP56DefaultModelsInit)(VP56Context *s); typedef void (*VP56ParseVectorModels)(VP56Context *s); typedef int (*VP56ParseCoeffModels)(VP56Context *s); typedef int (*VP56ParseHeader)(VP56Context *s, const uint8_t *buf, - int buf_size, int *golden_frame); + int buf_size); typedef struct { int high; @@ -105,6 +105,7 @@ struct vp56_context { int sub_version; /* frame info */ + int golden_frame; int plane_width[4]; int plane_height[4]; int mb_width; /* number of horizontal MB */ |