mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
media: qcom: iris: Add missing break in iris_hfi_gen2_session_set_codec()
Without the break the AV1 case falls through, risking unintended behaviour if new cases are added after it. Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com> Signed-off-by: Vishnu Reddy <busanna.reddy@oss.qualcomm.com> Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
This commit is contained in:
parent
727a87c71b
commit
75126861e6
|
|
@ -764,6 +764,7 @@ static int iris_hfi_gen2_session_set_codec(struct iris_inst *inst)
|
|||
break;
|
||||
case V4L2_PIX_FMT_AV1:
|
||||
codec = HFI_CODEC_DECODE_AV1;
|
||||
break;
|
||||
}
|
||||
|
||||
iris_hfi_gen2_packet_session_property(inst,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user