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:
authorHendrik Leppkes <h.leppkes@gmail.com>2017-09-19 11:45:41 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2017-09-19 15:52:15 +0300
commitb4ecf2b582f34ff898017836b7df865e6ad9ce92 (patch)
tree443c992057bd1ba51d95219ad2177a178677958c /libavcodec/vp9dec.h
parent18821e3ba1baa8e0fe037e11c77459ebc73f7e37 (diff)
vp9: move VP9SharedContext back to the top of VP9Context
VP9SharedContext needs to be the first member so its properties can be safely accessed from hardware accelerators, without the need to share the full VP9Context. Fixes ticket #6674.
Diffstat (limited to 'libavcodec/vp9dec.h')
-rw-r--r--libavcodec/vp9dec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp9dec.h b/libavcodec/vp9dec.h
index 96c0e43cd2..66573edc79 100644
--- a/libavcodec/vp9dec.h
+++ b/libavcodec/vp9dec.h
@@ -89,8 +89,8 @@ typedef struct VP9Block {
typedef struct VP9TileData VP9TileData;
typedef struct VP9Context {
- VP9TileData *td;
VP9SharedContext s;
+ VP9TileData *td;
VP9DSPContext dsp;
VideoDSPContext vdsp;