We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27bc134 commit 60746dfCopy full SHA for 60746df
chromium/third_party/libvpx/source/libvpx/vp9/encoder/vp9_bitstream.c
@@ -967,7 +967,9 @@ static int encode_tiles_buffer_alloc_size(VP9_COMP *const cpi) {
967
const int image_bps =
968
(8 + 2 * (8 >> (cm->subsampling_x + cm->subsampling_y))) *
969
(1 + (cm->bit_depth > 8));
970
- return cpi->oxcf.width * cpi->oxcf.height * image_bps / 8;
+ const int64_t size =
971
+ (int64_t)cpi->oxcf.width * cpi->oxcf.height * image_bps / 8;
972
+ return (int)size;
973
}
974
975
static void encode_tiles_buffer_alloc(VP9_COMP *const cpi) {
0 commit comments