]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dnxhdenc.h
Merge commit 'b3825723dceffc64240da7b0e562bd1fd024da26'
[ffmpeg] / libavcodec / dnxhdenc.h
index 9b43f6e9c658003dfe6e0cabf69dee171293a9db..26c3eec695f310c835bf2f642fa3710660257b7c 100644 (file)
@@ -75,8 +75,8 @@ typedef struct DNXHDEncContext {
     int intra_quant_bias;
 
     DECLARE_ALIGNED(16, int16_t, blocks)[12][64];
-    DECLARE_ALIGNED(16, uint8_t, edge_buf_y)[256];
-    DECLARE_ALIGNED(16, uint8_t, edge_buf_uv)[2][256];
+    DECLARE_ALIGNED(16, uint8_t, edge_buf_y)[512]; // has to hold 16x16 uint16 when depth=10
+    DECLARE_ALIGNED(16, uint8_t, edge_buf_uv)[2][512]; // has to hold 16x16 uint16_t when depth=10
 
     int      (*qmatrix_c)     [64];
     int      (*qmatrix_l)     [64];