Propagate return value of parse_operating_points() In decoder_peek_si_internal(), if the parse_operating_points() call fails, propagate its return value rather than return AOM_CODEC_ERROR. Change-Id: I569c8ef3c2c0d09d442ea03c0c38e1b6c8672b25
diff --git a/av1/av1_dx_iface.c b/av1/av1_dx_iface.c index 1a2dea3..18dc980 100644 --- a/av1/av1_dx_iface.c +++ b/av1/av1_dx_iface.c
@@ -310,10 +310,8 @@ return AOM_CODEC_UNSUP_BITSTREAM; } - if (parse_operating_points(&rb, reduced_still_picture_hdr, si) != - AOM_CODEC_OK) { - return AOM_CODEC_ERROR; - } + status = parse_operating_points(&rb, reduced_still_picture_hdr, si); + if (status != AOM_CODEC_OK) return status; int num_bits_width = aom_rb_read_literal(&rb, 4) + 1; int num_bits_height = aom_rb_read_literal(&rb, 4) + 1;