Browse code

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.

Hendrik Leppkes authored on 2017/09/19 17:45:41
Showing 1 changed files
... ...
@@ -89,8 +89,8 @@ typedef struct VP9Block {
89 89
 typedef struct VP9TileData VP9TileData;
90 90
 
91 91
 typedef struct VP9Context {
92
-    VP9TileData *td;
93 92
     VP9SharedContext s;
93
+    VP9TileData *td;
94 94
 
95 95
     VP9DSPContext dsp;
96 96
     VideoDSPContext vdsp;