]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vp9block.c
avcodec: Remove redundant freeing of extradata of encoders
[ffmpeg] / libavcodec / vp9block.c
index 1c3f7a7225367528486e80a4ef8ed6246f845be5..ec16e26c69858a59b6761cc06a1f6f3d436b7c35 100644 (file)
@@ -1290,6 +1290,14 @@ void ff_vp9_decode_block(VP9TileData *td, int row, int col,
         b->uvtx = b->tx - ((s->ss_h && w4 * 2 == (1 << b->tx)) ||
                            (s->ss_v && h4 * 2 == (1 << b->tx)));
 
+        if (td->block_structure) {
+            td->block_structure[td->nb_block_structure].row = row;
+            td->block_structure[td->nb_block_structure].col = col;
+            td->block_structure[td->nb_block_structure].block_size_idx_x = av_log2(w4);
+            td->block_structure[td->nb_block_structure].block_size_idx_y = av_log2(h4);
+            td->nb_block_structure++;
+        }
+
         if (!b->skip) {
             int has_coeffs;