]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/hevc.h
avcodec/hevc_parser: check for av_mallocz() failure
[ffmpeg] / libavcodec / hevc.h
index ae9a32acf03079487d6ee50af0cdb6e3ce814ed6..e0af6f1810b7c13ec58ac767ace93b70f26e2990 100644 (file)
@@ -771,7 +771,7 @@ typedef struct HEVCLocalContext {
     DECLARE_ALIGNED(32, uint8_t, edge_emu_buffer)[(MAX_PB_SIZE + 7) * EDGE_EMU_BUFFER_STRIDE * 2];
     /* The extended size between the new edge emu buffer is abused by SAO */
     DECLARE_ALIGNED(32, uint8_t, edge_emu_buffer2)[(MAX_PB_SIZE + 7) * EDGE_EMU_BUFFER_STRIDE * 2];
-    DECLARE_ALIGNED(16, int16_t, tmp [MAX_PB_SIZE * MAX_PB_SIZE]);
+    DECLARE_ALIGNED(32, int16_t, tmp [MAX_PB_SIZE * MAX_PB_SIZE]);
 
     int ct_depth;
     CodingUnit cu;