|
@@ -1090,9 +1090,6 @@ static int msm_vdec_subscribe_metadata(struct msm_vidc_inst *inst,
|
|
}
|
|
}
|
|
};
|
|
};
|
|
|
|
|
|
- if (!count)
|
|
|
|
- return 0;
|
|
|
|
-
|
|
|
|
rc = venus_hfi_session_command(inst,
|
|
rc = venus_hfi_session_command(inst,
|
|
HFI_CMD_SUBSCRIBE_MODE,
|
|
HFI_CMD_SUBSCRIBE_MODE,
|
|
port,
|
|
port,
|
|
@@ -1150,9 +1147,6 @@ static int msm_vdec_set_delivery_mode_metadata(struct msm_vidc_inst *inst,
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
}
|
|
}
|
|
|
|
|
|
- if (!count)
|
|
|
|
- return 0;
|
|
|
|
-
|
|
|
|
rc = venus_hfi_session_command(inst,
|
|
rc = venus_hfi_session_command(inst,
|
|
HFI_CMD_DELIVERY_MODE,
|
|
HFI_CMD_DELIVERY_MODE,
|
|
port,
|
|
port,
|