Codebase list aom / fba77bd
av1_loop_restoration_filter_frame_init: fix alloc check aom_realloc_frame_buffer was changed to return an error code (which are all positive values) in: 02affebbe Return error code for buffer allocation. Bug: aomedia:3276 Change-Id: Icb8853479cb954cda194c900468f96de2670772b (cherry picked from commit c98ccccede3c28e5432d2f7ec68a835e2b6e1bcb) James Zern authored 1 year, 4 months ago Wan-Teh Chang committed 1 year, 3 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
11161116 if (aom_realloc_frame_buffer(
11171117 lr_ctxt->dst, frame_width, frame_height, seq_params->subsampling_x,
11181118 seq_params->subsampling_y, highbd, AOM_RESTORATION_FRAME_BORDER,
1119 cm->features.byte_alignment, NULL, NULL, NULL, 0, 0) < 0)
1119 cm->features.byte_alignment, NULL, NULL, NULL, 0, 0) != AOM_CODEC_OK)
11201120 aom_internal_error(cm->error, AOM_CODEC_MEM_ERROR,
11211121 "Failed to allocate restoration dst buffer");
11221122